aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/usbhid')
-rw-r--r--drivers/hid/usbhid/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
index d91b9dac6dff..093abb5c9879 100644
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
@@ -956,7 +956,7 @@ static void hid_disconnect(struct usb_interface *intf)
956 usb_kill_urb(usbhid->urbctrl); 956 usb_kill_urb(usbhid->urbctrl);
957 957
958 del_timer_sync(&usbhid->io_retry); 958 del_timer_sync(&usbhid->io_retry);
959 flush_scheduled_work(); 959 cancel_work_sync(&usbhid->reset_work);
960 960
961 if (hid->claimed & HID_CLAIMED_INPUT) 961 if (hid->claimed & HID_CLAIMED_INPUT)
962 hidinput_disconnect(hid); 962 hidinput_disconnect(hid);