Skip to content
Commit 5b0545dc authored by Jiri Kosina's avatar Jiri Kosina
Browse files

Revert "HID: usbhid: do not sleep when opening device"

This reverts commit d3132792.

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: default avatarJohannes Hirte <johannes.hirte@datenkhaos.de>
Reported-by: default avatarMarius Zachmann <mail@mariuszachmann.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 25a097f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment