diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2014-01-12 11:09:14 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-01-12 11:41:56 -0800 |
commit | c3c4d99485ea51cd354ed3cd955a8310703456b6 (patch) | |
tree | 57b872a674267de8a9edbaeb7690754fc48bcc38 /drivers/input/serio | |
parent | 25fd31768e2413a5920dea1253cc06add2bad383 (diff) | |
download | op-kernel-dev-c3c4d99485ea51cd354ed3cd955a8310703456b6.zip op-kernel-dev-c3c4d99485ea51cd354ed3cd955a8310703456b6.tar.gz |
Input: hyperv-keyboard - pass through 0xE1 prefix
Pass through the 0xE1 prefix so atkbd can properly parse the scancode
data.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio')
-rw-r--r-- | drivers/input/serio/hyperv-keyboard.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/input/serio/hyperv-keyboard.c b/drivers/input/serio/hyperv-keyboard.c index 3a83c3c..6132619 100644 --- 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; |