Don Zickus
0f180c2bb4
HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error
...
commit 3af4e5a951 upstream.
It was reported that after 10-20 reboots, a usb keyboard plugged
into a docking station would not work unless it was replugged in.
Using usbmon, it turns out the interrupt URBs were streaming with
callback errors of -71 for some reason. The hid-core.c::hid_io_error was
supposed to retry and then reset, but the reset wasn't really happening.
The check for HID_NO_BANDWIDTH was inverted. Fix was simple.
Tested by reporter and locally by me by unplugging a keyboard halfway until I
could recreate a stream of errors but no disconnect.
Signed-off-by: Don Zickus <dzickus@redhat.com >
Signed-off-by: Jiri Kosina <jkosina@suse.cz >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-21 10:02:19 -07:00
..
2015-03-06 14:43:23 -08:00
2015-09-21 10:02:19 -07:00
2013-07-31 10:12:28 +02:00
2014-02-06 14:35:18 +01:00
2013-11-21 09:58:19 +01:00
2013-01-03 10:27:31 +01:00
2013-11-12 19:06:23 +01:00
2013-01-03 10:27:31 +01:00
2014-09-05 16:34:12 -07:00
2013-01-03 10:27:31 +01:00
2015-01-16 06:59:31 -08:00
2013-01-03 10:27:31 +01:00
2013-12-17 13:54:40 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-09-25 11:28:50 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-01-16 22:58:43 +01:00
2013-08-05 11:29:57 +02:00
2013-05-28 14:29:38 +02:00
2014-02-17 21:18:35 +01:00
2013-04-24 16:32:27 +02:00
2015-01-16 06:59:31 -08:00
2015-03-18 13:31:33 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2015-01-16 06:59:31 -08:00
2013-01-03 10:27:31 +01:00
2013-09-24 11:47:47 +02:00
2013-10-09 12:06:02 +02:00
2013-09-13 15:12:39 +02:00
2014-03-14 15:43:34 +01:00
2014-09-05 16:34:12 -07:00
2012-09-25 15:41:02 +02:00
2013-09-13 15:12:39 +02:00
2014-10-05 14:52:12 -07:00
2014-10-05 14:52:12 -07:00
2014-10-05 14:52:11 -07:00
2014-05-31 13:20:29 -07:00
2014-09-05 16:34:12 -07:00
2014-01-28 20:49:32 +01:00
2013-09-04 12:00:23 +02:00
2013-01-03 10:27:31 +01:00
2014-09-05 16:34:12 -07:00
2013-02-25 13:26:41 +01:00
2013-09-02 13:36:50 +02:00
2014-10-05 14:52:11 -07:00
2013-07-22 16:16:40 +02:00
2013-09-02 13:36:50 +02:00
2013-02-25 13:26:41 +01:00
2013-02-25 13:26:41 +01:00
2013-04-30 10:19:07 +02:00
2013-09-04 11:58:32 +02:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-09-06 09:30:36 -07:00
2011-06-13 12:52:57 +02:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-09-06 09:30:36 -07:00
2013-03-14 11:50:49 +01:00
2013-09-30 10:51:31 +02:00
2013-04-08 10:33:13 +02:00
2013-09-30 10:51:31 +02:00
2012-11-18 22:58:28 +01:00
2013-10-30 14:17:31 +01:00
2013-11-04 10:55:20 +01:00
2012-11-12 15:30:29 +01:00
2013-01-03 10:27:31 +01:00
2012-10-17 10:44:47 +02:00
2015-01-16 06:59:31 -08:00
2012-11-12 15:30:28 +01:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-06-18 11:00:36 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-02-17 15:05:02 +01:00
2013-02-25 13:26:41 +01:00
2014-02-20 14:14:03 +01:00
2013-08-26 13:51:10 +02:00
2013-09-13 15:12:28 +02:00
2014-09-05 16:34:12 -07:00
2013-02-25 13:26:40 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-07-04 15:04:47 +02:00
2013-01-03 10:27:31 +01:00
2013-11-19 11:28:03 +01:00
2013-06-03 11:07:06 +02:00
2013-10-30 14:13:29 +01:00
2013-11-15 16:48:22 -08:00
2013-08-26 13:23:04 +02:00
2013-09-13 15:11:34 +02:00
2013-07-31 10:12:28 +02:00
2014-02-26 11:01:28 +01:00
2014-01-22 15:40:14 +01:00
2013-10-30 14:17:31 +01:00
2013-11-27 10:53:49 +01:00