diff options
author | Corinna Vinschen <xda@vinschen.de> | 2018-08-26 21:16:23 +0200 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2018-10-02 19:50:36 +0100 |
commit | 282e889e556e65c326238ffb8243c626d4b3c4a5 (patch) | |
tree | ea7b0f5701613f2fb8453644f0b2786289e1437f /power-8953.c | |
parent | bd767ce687270079bf436373a292922b7424f60d (diff) | |
download | android_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