OSDN Git Service

usb: hub: try old enumeration scheme first for high speed devices
authorZeng Tao <prime.zeng@hisilicon.com>
Fri, 28 Sep 2018 11:27:52 +0000 (19:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 19:05:30 +0000 (12:05 -0700)
commitbd0e6c9614b95352eb31d0207df16dc156c527fa
tree274c7a7b59d5b149f183371dff221a52f292a9b4
parent2cfe8f864d0e2504dc2f68f0b04668d877f7c7b4
usb: hub: try old enumeration scheme first for high speed devices

The new scheme is required just to support legacy low and full-speed
devices. For high speed devices, it will slower the enumeration speed.
So in this patch we try the "old" enumeration scheme first for high speed
devices, and this is what Windows does since Windows 8.

Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/admin-guide/kernel-parameters.txt
drivers/usb/core/hub.c