linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Drivers: input: serio:hyperv-keyoard:  Handle 0xE1 prefix
@ 2014-01-12  3:41 K. Y. Srinivasan
  2014-01-12 19:14 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: K. Y. Srinivasan @ 2014-01-12  3:41 UTC (permalink / raw)
  To: gregkh, linux-kernel, devel, dmitry.torokhov, linux-input,
	vojtech, olaf, apw, jasowang
  Cc: K. Y. Srinivasan

Handle the 0xE1 prefix.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
 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;
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Drivers: input: serio:hyperv-keyoard:  Handle 0xE1 prefix
  2014-01-12  3:41 [PATCH 1/1] Drivers: input: serio:hyperv-keyoard: Handle 0xE1 prefix K. Y. Srinivasan
@ 2014-01-12 19:14 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2014-01-12 19:14 UTC (permalink / raw)
  To: K. Y. Srinivasan
  Cc: gregkh, linux-kernel, devel, linux-input, vojtech, olaf, apw, jasowang

On Sat, Jan 11, 2014 at 07:41:50PM -0800, K. Y. Srinivasan wrote:
> Handle the 0xE1 prefix.
> 
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>

Applied, thank you.

> ---
>  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;
> -- 
> 1.7.4.1
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-12 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-12  3:41 [PATCH 1/1] Drivers: input: serio:hyperv-keyoard: Handle 0xE1 prefix K. Y. Srinivasan
2014-01-12 19:14 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).