]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
usb: hub: Per-port setting to reduce TRSTRCY to 10 ms
authorNicolas Boichat <drinkcat@chromium.org>
Mon, 28 May 2018 06:32:19 +0000 (14:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 May 2018 10:48:17 +0000 (12:48 +0200)
commitaa071a92bbf09d993ff0dbf3b1f2b53ac93ad654
treea6c57deabc0ca7ac0eb080aa3a0d061db8517945
parent25244227158e1502062041365a439a54cb8fe673
usb: hub: Per-port setting to reduce TRSTRCY to 10 ms

Currently, the USB hub core waits for 50 ms after enumerating the
device. This was added to help "some high speed devices" to
enumerate (b789696af8 "[PATCH] USB: relax usbcore reset timings").

On some devices, the time-to-active is important, so we provide
a per-port option to reduce the time to what the USB specification
requires: 10 ms.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-usb
drivers/usb/core/hub.c
include/linux/usb.h