diff options
| -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 3a83c3c14b23..613261994621 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, | |||
| 160 | if (info & IS_E0) | 160 | if (info & IS_E0) |
| 161 | serio_interrupt(kbd_dev->hv_serio, | 161 | serio_interrupt(kbd_dev->hv_serio, |
| 162 | XTKBD_EMUL0, 0); | 162 | XTKBD_EMUL0, 0); |
| 163 | 163 | if (info & IS_E1) | |
| 164 | serio_interrupt(kbd_dev->hv_serio, | ||
| 165 | XTKBD_EMUL1, 0); | ||
| 164 | scan_code = __le16_to_cpu(ks_msg->make_code); | 166 | scan_code = __le16_to_cpu(ks_msg->make_code); |
| 165 | if (info & IS_BREAK) | 167 | if (info & IS_BREAK) |
| 166 | scan_code |= XTKBD_RELEASE; | 168 | scan_code |= XTKBD_RELEASE; |
