Skip to content

Commit f32f539

Browse files
mergedtor
authored andcommitted
Input: pegasus_notetaker - cancel workqueue's work in suspend()
Signed-off-by: Martin Kepplinger <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 9d3bef0 commit f32f539

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/input/tablet/pegasus_notetaker.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ static int pegasus_suspend(struct usb_interface *intf, pm_message_t message)
389389

390390
mutex_lock(&pegasus->dev->mutex);
391391
usb_kill_urb(pegasus->irq);
392+
cancel_work_sync(&pegasus->init);
392393
mutex_unlock(&pegasus->dev->mutex);
393394

394395
return 0;

0 commit comments

Comments
 (0)