projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25fd317
)
Input: hyperv-keyboard - pass through 0xE1 prefix
author
K. Y. Srinivasan
<
[email protected]
>
Sun, 12 Jan 2014 19:09:14 +0000
(11:09 -0800)
committer
Dmitry Torokhov
<
[email protected]
>
Sun, 12 Jan 2014 19:41:56 +0000
(11:41 -0800)
Pass through the 0xE1 prefix so atkbd can properly parse the scancode
data.
Signed-off-by: K. Y. Srinivasan <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/serio/hyperv-keyboard.c
patch
|
blob
|
history
diff --git
a/drivers/input/serio/hyperv-keyboard.c
b/drivers/input/serio/hyperv-keyboard.c
index 3a83c3c14b2364d34757313e3bad5364047acdab..613261994621451199ba551633303780a7d7c93f 100644
(file)
--- a/
drivers/input/serio/hyperv-keyboard.c
+++ b/
drivers/input/serio/hyperv-keyboard.c
@@
-160,7
+160,9
@@
static void hv_kbd_on_receive(struct hv_device *hv_dev,
if (info & IS_E0)
serio_interrupt(kbd_dev->hv_serio,
XTKBD_EMUL0, 0);
-
+ if (info & IS_E1)
+ serio_interrupt(kbd_dev->hv_serio,
+ XTKBD_EMUL1, 0);
scan_code = __le16_to_cpu(ks_msg->make_code);
if (info & IS_BREAK)
scan_code |= XTKBD_RELEASE;