Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140410
b: refs/heads/master
c: 6d77976
h: refs/heads/master
v: v3
  • Loading branch information
Oliver Neukum authored and Jiri Kosina committed Mar 25, 2009
1 parent dd205ba commit a9a2b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae2f007468223e9efd6973be0364b9307a050a0c
refs/heads/master: 6d77976800c3f29a0337fadcc9ddd79050fa5620
2 changes: 1 addition & 1 deletion trunk/drivers/hid/usbhid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,6 @@ static void hid_cease_io(struct usbhid_device *usbhid)
usb_kill_urb(usbhid->urbin);
usb_kill_urb(usbhid->urbctrl);
usb_kill_urb(usbhid->urbout);
flush_scheduled_work();
}

/* Treat USB reset pretty much the same as suspend/resume */
Expand All @@ -1219,6 +1218,7 @@ static int hid_pre_reset(struct usb_interface *intf)
spin_lock_irq(&usbhid->lock);
set_bit(HID_RESET_PENDING, &usbhid->iofl);
spin_unlock_irq(&usbhid->lock);
cancel_work_sync(&usbhid->restart_work);
hid_cease_io(usbhid);

return 0;
Expand Down

0 comments on commit a9a2b87

Please sign in to comment.