aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rwxr-xr-xdrivers/input/keyboard/cypress-touchkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/cypress-touchkey.c b/drivers/input/keyboard/cypress-touchkey.c
index dd11702..23a721c 100755
--- a/drivers/input/keyboard/cypress-touchkey.c
+++ b/drivers/input/keyboard/cypress-touchkey.c
@@ -236,7 +236,7 @@ static void cypress_touchkey_early_resume(struct early_suspend *h)
static void set_device_params(struct cypress_touchkey_devdata *devdata,
u8 *data)
{
- if (data[1] < 0xc4 && (data[1] >= 0x8 ||
+ if (data[1] < 0xc4 && (data[1] > 0x8 ||
(data[1] == 0x8 && data[2] >= 0x9))) {
devdata->backlight_on = BACKLIGHT_ON;
devdata->backlight_off = BACKLIGHT_OFF;