summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/pegasus_notetaker.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/tablet/pegasus_notetaker.c')
-rw-r--r--drivers/input/tablet/pegasus_notetaker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/tablet/pegasus_notetaker.c b/drivers/input/tablet/pegasus_notetaker.c
index ef5fd31abaef..17770df37628 100644
--- a/drivers/input/tablet/pegasus_notetaker.c
+++ b/drivers/input/tablet/pegasus_notetaker.c
@@ -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;