diff options
author | Martin Kepplinger <martink@posteo.de> | 2016-07-19 23:30:39 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-07-19 23:33:06 +0200 |
commit | f32f5394415adcb93245213b50ab739e31c31b5b (patch) | |
tree | 9f78eada0cffbaaa137d5c34d5af60aff8e5d045 /drivers/input/tablet | |
parent | Input: pegasus_notetaker - fix usb_autopm calls to be balanced (diff) | |
download | linux-f32f5394415adcb93245213b50ab739e31c31b5b.tar.xz linux-f32f5394415adcb93245213b50ab739e31c31b5b.zip |
Input: pegasus_notetaker - cancel workqueue's work in suspend()
Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r-- | drivers/input/tablet/pegasus_notetaker.c | 1 |
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; |