aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2011-12-17 23:06:21 +0100
committerKalimochoAz <calimochoazucarado@gmail.com>2012-02-11 12:15:15 +0100
commitc5ef0ba3e77bcc4f5473459f8d96f2936e5f4f72 (patch)
treead184f4fc83cc85f4355758340c68360c1f4f961 /drivers/input
parent5ec390edb672597cb245ee8341441d3bc818f326 (diff)
downloadkernel_samsung_crespo-c5ef0ba3e77bcc4f5473459f8d96f2936e5f4f72.zip
kernel_samsung_crespo-c5ef0ba3e77bcc4f5473459f8d96f2936e5f4f72.tar.gz
kernel_samsung_crespo-c5ef0ba3e77bcc4f5473459f8d96f2936e5f4f72.tar.bz2
Remove blink from LED notification control
This is done to encrease stability and more to preserve bettery
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);