summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/drivers/tty/vt
diff options
context:
space:
mode:
authorKevin2014-11-15 10:00:36 +0800
committerKevin2014-11-15 10:00:36 +0800
commit9d40ac5867b9aefe0722bc1f110b965ff294d30d (patch)
treede942df665fac4bac0d9cb7ae86910fe937b0c1a /ANDROID_3.4.5/drivers/tty/vt
parent392e8802486cb573b916e746010e141a75f507e6 (diff)
downloadFOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.gz
FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.bz2
FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.zip
add via modify part source code for wm8880 4.4 kitkat
Diffstat (limited to 'ANDROID_3.4.5/drivers/tty/vt')
-rw-r--r--ANDROID_3.4.5/drivers/tty/vt/keyboard.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ANDROID_3.4.5/drivers/tty/vt/keyboard.c b/ANDROID_3.4.5/drivers/tty/vt/keyboard.c
index 3b0c4e32..518fc637 100644
--- a/ANDROID_3.4.5/drivers/tty/vt/keyboard.c
+++ b/ANDROID_3.4.5/drivers/tty/vt/keyboard.c
@@ -1032,6 +1032,8 @@ static inline unsigned char getleds(void)
static int kbd_update_leds_helper(struct input_handle *handle, void *data)
{
+// yumzhu mask for EV_LED leading to suspend failed on platform 8880
+#if 0
unsigned char leds = *(unsigned char *)data;
if (test_bit(EV_LED, handle->dev->evbit)) {
@@ -1040,7 +1042,7 @@ static int kbd_update_leds_helper(struct input_handle *handle, void *data)
input_inject_event(handle, EV_LED, LED_CAPSL, !!(leds & 0x04));
input_inject_event(handle, EV_SYN, SYN_REPORT, 0);
}
-
+#endif
return 0;
}