summaryrefslogtreecommitdiffstats
path: root/power-8953.c
diff options
context:
space:
mode:
authorCorinna Vinschen <xda@vinschen.de>2018-08-26 21:16:23 +0200
committerBruno Martins <bgcngm@gmail.com>2018-10-02 19:50:36 +0100
commit282e889e556e65c326238ffb8243c626d4b3c4a5 (patch)
treeea7b0f5701613f2fb8453644f0b2786289e1437f /power-8953.c
parentbd767ce687270079bf436373a292922b7424f60d (diff)
downloadandroid_hardware_qcom_power-282e889e556e65c326238ffb8243c626d4b3c4a5.tar.gz
android_hardware_qcom_power-282e889e556e65c326238ffb8243c626d4b3c4a5.tar.bz2
android_hardware_qcom_power-282e889e556e65c326238ffb8243c626d4b3c4a5.zip
power: perform_hint_action: return an error code
So far the caller never knows if setting the hint actually worked. This leads to a potential disconnect between the actual setting and the UI because set_power_profile simply assumes perform_hint_action worked. Return an error code or 0, so the callers can check for success. Change-Id: I180a367e9d8581a63dfa703046b37bc5cae8c6cb Signed-off-by: Corinna Vinschen <xda@vinschen.de>
Diffstat (limited to 'power-8953.c')
0 files changed, 0 insertions, 0 deletions