Input: pegasus_notetaker - cancel workqueue's work in suspend()

Signed-off-by: Martin Kepplinger <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
Martin Kepplinger 2016-07-19 14:30:39 -07:00 • committed by Dmitry Torokhov
commit f32f539441

View file

@ -389,6 +389,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);
return 0;