commit | d4150c8f3d80b4a9387083478a86da8b3390dd83 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Thu Jul 19 16:08:54 2012 -0400 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Jul 20 11:24:25 2012 +0200 |
tree | 8a7dd3e89587dc3f986dc83c2ce40e91a96dac24 | |
parent | f2b5264d4f77328e45d73cd135772b6e88a4951a [diff] |
HID: usbhid: check for suspend or reset before restarting This patch (as1596) improves the queue-restart logic in usbhid by checking to see if the device is suspended or a reset is about to occur. There's no point submitting an URB if either of those is true. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: Oliver Neukum <oliver@neukum.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>