]> xenbits.xensource.com Git - osstest/seabios.git/commit
USB:Fix xHCI initail fail by using longer reset and CNR clear timeout value
authorweitaowang-oc@zhaoxin.com <weitaowang-oc@zhaoxin.com>
Sun, 9 Aug 2020 14:22:23 +0000 (14:22 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 30 Sep 2020 10:52:57 +0000 (12:52 +0200)
commit849c5e50b6f474df6cc113130575bcdccfafcd9e
treef2dab20b5ed1057201eeb7627f264e9ea7c7c5c5
parent41289b83ed3847dc45e7af3f1b7cb3cec6b6e7a5
USB:Fix xHCI initail fail by using longer reset and CNR clear timeout value

Some xHCI controller's reset time than 100ms,such as 120ms.
On the on hand, xHCI spec has not specified a timeout value.
Maybe setting xHCI HCRST and CNR bit clear timeout value larger
is a nice thing.As a compromise between compatibility and
latency,we can take 1000ms as a timeout value.

Signed-off-by: WeitaoWangoc <WeitaoWang-oc@zhaoxin.com>
Message-Id: <159698294308.14.13067234241650533818@b63950293ec5>
src/hw/usb-xhci.c