On Wed, 8 Feb 2012, [email protected] wrote:

> The patch below does not apply to the 3.2-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <[email protected]>.
> 
> thanks,
> 
> greg k-h
> 
> ------------------ original commit in Linus's tree ------------------
> 
> >From c1c454b8691cc95aa83f19273ed7845914c70e83 Mon Sep 17 00:00:00 2001
> From: "K. Y. Srinivasan" <[email protected]>
> Date: Wed, 18 Jan 2012 08:57:14 -0800
> Subject: [PATCH] HID: hyperv: Properly disconnect the input device
> 
> When we unload the mouse driver, properly disconnect the input device.
> 
> Signed-off-by: K. Y. Srinivasan <[email protected]>
> Signed-off-by: Haiyang Zhang <[email protected]>
> Reported-by: Fuzhou Chen <[email protected]>
> Cc: stable <[email protected]>
> Signed-off-by: Jiri Kosina <[email protected]>
> 
> diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c
> index 0c33ae9..4066324 100644
> --- a/drivers/hid/hid-hyperv.c
> +++ b/drivers/hid/hid-hyperv.c
> @@ -548,6 +548,7 @@ static int mousevsc_remove(struct hv_device *dev)
>       struct mousevsc_dev *input_dev = hv_get_drvdata(dev);
>  
>       vmbus_close(dev->channel);
> +     hid_hw_stop(input_dev->hid_device);
>       hid_destroy_device(input_dev->hid_device);
>       mousevsc_free_device(input_dev);

Well, as the whole driver has been moved out of staging only for 3.3-rc1, 
I think that Cc: stable is actually a mistake here, as there is no 
already-released 3.x kernel for which this would be applicable (and I 
believe we are not putting -staging patches into -stable, right?).

Thanks,

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to