Skip to content

Commit

Permalink
Input: pegasus_notetaker - cancel workqueue's work in suspend()
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kepplinger <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
merge authored and dtor committed Jul 19, 2016
1 parent 9d3bef0 commit f32f539
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/tablet/pegasus_notetaker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f32f539

Please sign in to comment.