Skip to contentSkip to conversation

Drivers: input: serio:hyperv-keyoard: Handle 0xE1 prefix

PATCH Applied K. Y. Srinivasan 2 participants 2 messages Jan 12, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drivers: input: serio:hyperv-keyoard: Handle 0xE1 prefix

Handle the 0xE1 prefix.

---
 drivers/input/serio/hyperv-keyboard.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/input/serio/hyperv-keyboard.c +3 -1
index 3a83c3c..6132619 100644
@@ -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;
Signature · 1 line
1.7.4.1
maintainer Applied
#1 lore raw
Quoted 3 lines · K. Y. Srinivasan

Handle the 0xE1 prefix.

Applied, thank you.

Quoted 22 lines
---
 drivers/input/serio/hyperv-keyboard.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/input/serio/hyperv-keyboard.c +3 -1
index 3a83c3c..6132619 100644
@@ -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;
Signature · 1 line
1.7.4.1
Signature · 1 line
Dmitry