Re: [PATCH 3/4] input: tablet: pegasus_notetaker: Cancel workqueue's work in suspend()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 18, 2016 at 04:29:08PM +0200, Martin Kepplinger wrote:
> Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>

Applied, thank you.

> ---
>  drivers/input/tablet/pegasus_notetaker.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/input/tablet/pegasus_notetaker.c b/drivers/input/tablet/pegasus_notetaker.c
> index fdbc5e8..07436c6 100644
> --- a/drivers/input/tablet/pegasus_notetaker.c
> +++ b/drivers/input/tablet/pegasus_notetaker.c
> @@ -377,6 +377,7 @@ static int pegasus_suspend(struct usb_interface *intf, pm_message_t message)
>  
>  	mutex_lock(&pegasus->dev->mutex);
>  	usb_kill_urb(pegasus->irq);
> +	cancel_work_sync(&pegasus->init);
>  	mutex_unlock(&pegasus->dev->mutex);

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux