diff options
author | Don Zickus <dzickus@redhat.com> | 2015-08-10 12:06:53 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-08-18 23:59:41 +0200 |
commit | 3af4e5a95184d6d3c1c6a065f163faa174a96a1d (patch) | |
tree | 62030bed4af454188e57c1cf888724546961207a /scripts/gdb/linux/symbols.py | |
parent | a1c173dac102d7d91e5cafdb8cb212300063eaa3 (diff) |
HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error
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>
Cc: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions