summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-uclogic-rdesc.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2020-06-09 21:38:24 -0700
committerJiri Kosina <jkosina@suse.cz>2020-06-16 17:12:57 +0200
commitd3132792285859253c466354fd8d54d1fe0ba786 (patch)
treeeb80a20285237e6284e92fc5f546fde046e39f5d /drivers/hid/hid-uclogic-rdesc.h
parenta789d5f8a99a366778a6e42b3700a246244201a6 (diff)
downloadlinux-stable-d3132792285859253c466354fd8d54d1fe0ba786.tar.gz
linux-stable-d3132792285859253c466354fd8d54d1fe0ba786.tar.bz2
linux-stable-d3132792285859253c466354fd8d54d1fe0ba786.zip
HID: usbhid: do not sleep when opening device
usbhid tries to give the device 50 milliseconds to drain its queues when opening the device, but does it naively by simply sleeping in open handler, which slows down device probing (and thus may affect overall boot time). However we do not need to sleep as we can instead mark a point of time in the future when we should start processing the events. Reported-by: Nicolas Boichat <drinkcat@chromium.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-uclogic-rdesc.h')
0 files changed, 0 insertions, 0 deletions