diff options
author | 2012-07-19 16:08:54 -0400 | |
---|---|---|
committer | 2012-07-20 11:24:25 +0200 | |
commit | d4150c8f3d80b4a9387083478a86da8b3390dd83 (patch) | |
tree | 8a7dd3e89587dc3f986dc83c2ce40e91a96dac24 /lib/mpi/mpi-bit.c | |
parent | HID: usbhid: replace HID_REPORTED_IDLE with HID_SUSPENDED (diff) | |
download | linux-dev-d4150c8f3d80b4a9387083478a86da8b3390dd83.tar.xz linux-dev-d4150c8f3d80b4a9387083478a86da8b3390dd83.zip |
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>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions