diff options
| author | Jiri Kosina <[email protected]> | 2020-08-18 17:54:04 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2020-08-18 17:54:04 +0000 |
| commit | 5b0545dc184442fa509a311b8c855370441ad5bc (patch) | |
| tree | 83e837a88256849230b8dda787357666dc0ef774 /net/core/dev.c | |
| parent | HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage() (diff) | |
| download | kernel-5b0545dc184442fa509a311b8c855370441ad5bc.tar.gz kernel-5b0545dc184442fa509a311b8c855370441ad5bc.zip | |
Revert "HID: usbhid: do not sleep when opening device"
This reverts commit d3132792285859253c466354fd8d54d1fe0ba786.
This patch causes a regression with quite a few devices, as probing fails
because of the race where the first IRQ is dropped on the floor (after
hid_device_io_start() happens, but before the 50ms timeout passess), and
report descriptor never gets parsed and populated.
As this is just a boot time micro-optimization, let's revert the
patch for 5.9 now, and fix this properly eventually for next merge
window.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=208935
Reported-by: Johannes Hirte <[email protected]>
Reported-by: Marius Zachmann <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
