[Dorado][Touch] Remove immediate return after hw reset in resume function
[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
diff --git a/drivers/input/touchscreen/elan_ktf.c b/drivers/input/touchscreen/elan_ktf.c
index a2d2880..6e8a976 100644
--- a/drivers/input/touchscreen/elan_ktf.c
+++ b/drivers/input/touchscreen/elan_ktf.c
@@ -5192,7 +5192,7 @@
#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 */