diff options
author | jericho.lu <jericho.lu@quantatw.com> | 2017-02-03 08:57:22 +0000 |
---|---|---|
committer | jericho.lu <jericho.lu@quantatw.com> | 2017-02-03 10:47:52 +0000 |
commit | 7742ba7c4306b0fba6c32db1b730e33da941363f (patch) | |
tree | 3ad6d9acac23c6e5378b2f0d3519a9fcde837c8d | |
parent | c1093284ccd95ad010a5cdc3371e0a153e904c54 (diff) |
[Dorado][Touch] Remove immediate return after hw reset in resume functionandroid-wear-6.0.1_r0.114
[Description]
- In resume function, it is returned immediately after hw reset,
which causes ESD check function not working correctly and
increases power consumption.
Skip this return call and return in the end of resume function
[Customer Impact]
- Power consumption
[Affected Area]
- kernel
[Side effect of the change]
- None
Change-Id: I5a18ab519645b2c6fbcaa6464de8d799e2e7efc4
-rw-r--r-- | drivers/input/touchscreen/elan_ktf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/elan_ktf.c b/drivers/input/touchscreen/elan_ktf.c index a2d2880af0ac..6e8a976a626b 100644 --- a/drivers/input/touchscreen/elan_ktf.c +++ b/drivers/input/touchscreen/elan_ktf.c @@ -5192,7 +5192,7 @@ static int elan_ktf_ts_resume(struct i2c_client *client) #ifdef ELAN_RESUME_RST printk("[elan] %s: Used Rest instead of command to resume touch panel\n", __func__); elan_ktf_ts_hw_reset(); - return 0; + /* return 0; */ #endif do { /* eWD1000 resumes by HW, driver does not have to set power state */ |