aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input')
-rwxr-xr-xdrivers/input/keyboard/cypress-touchkey.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/input/keyboard/cypress-touchkey.c b/drivers/input/keyboard/cypress-touchkey.c
index bf1a02e..71e748d 100755
--- a/drivers/input/keyboard/cypress-touchkey.c
+++ b/drivers/input/keyboard/cypress-touchkey.c
@@ -219,7 +219,10 @@ static void cypress_touchkey_early_suspend(struct early_suspend *h)
* Disallow powering off the touchkey controller
* while a led notification is ongoing
*/
- if(!bln_is_ongoing())
+ if(!bln_is_ongoing()) {
+ devdata->pdata->touchkey_onoff(TOUCHKEY_OFF);
+ devdata->pdata->touchkey_sleep_onoff(TOUCHKEY_OFF);
+ }
#endif
devdata->pdata->touchkey_onoff(TOUCHKEY_OFF);