diff options
| author | Alan Stern <[email protected]> | 2012-07-19 20:08:54 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2012-07-20 09:24:25 +0000 |
| commit | d4150c8f3d80b4a9387083478a86da8b3390dd83 (patch) | |
| tree | 8a7dd3e89587dc3f986dc83c2ce40e91a96dac24 /lib/mpi/mpiutil.c | |
| parent | HID: usbhid: replace HID_REPORTED_IDLE with HID_SUSPENDED (diff) | |
| download | kernel-d4150c8f3d80b4a9387083478a86da8b3390dd83.tar.gz kernel-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 <[email protected]>
CC: Oliver Neukum <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
