summaryrefslogtreecommitdiffstats
path: root/power-8994.c
diff options
context:
space:
mode:
authorDilip Gudlur <dgudlur@codeaurora.org>2015-01-24 13:46:47 -0800
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:12:56 +0300
commit5d4227481c64102c8969ecc1cb9926105630ffc5 (patch)
treefa7d58d77c7f12f8bc03761d558215fcccc437a9 /power-8994.c
parent886567a1540f5af41122bee36cc4ef7549e4024e (diff)
downloadvendor_qcom_opensource_power-5d4227481c64102c8969ecc1cb9926105630ffc5.tar.gz
vendor_qcom_opensource_power-5d4227481c64102c8969ecc1cb9926105630ffc5.tar.bz2
vendor_qcom_opensource_power-5d4227481c64102c8969ecc1cb9926105630ffc5.zip
power: modify return value for display off hint in 8994
This change bypasses execution of deprecated code path in the power.c for dispaly off hint. Change-Id: I3e6f5d2f5a9f1d55015149a0f7abc3c3f1f445e1
Diffstat (limited to 'power-8994.c')
-rw-r--r--power-8994.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/power-8994.c b/power-8994.c
index 291cb23..d006e4e 100644
--- a/power-8994.c
+++ b/power-8994.c
@@ -115,7 +115,7 @@ int power_hint_override(struct power_module *module, power_hint_t hint, void *da
int set_interactive_override(struct power_module *module, int on)
{
- return HINT_NONE; /* Don't excecute this code path, not in use */
+ return HINT_HANDLED; /* Don't excecute this code path, not in use */
char governor[80];
if (get_scaling_governor(governor, sizeof(governor)) == -1) {