]> git.itanic.dy.fi Git - linux-stable/commit
usb: pci-quirks.c: Corrected timeout values used in handshake
authorJim Dickerson <jim.dickerson@hpe.com>
Mon, 18 Sep 2017 14:39:14 +0000 (17:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Oct 2017 07:18:01 +0000 (09:18 +0200)
commit4b01fcab0516e40d2fb53eeeb513bf8e2ba01982
treee355136b4b38f864f7d66813eeb3f41d8d66f68e
parentee44ff5445ae449570427baa534bfba2abba7545
usb: pci-quirks.c: Corrected timeout values used in handshake

commit 114ec3a6f9096d211a4aff4277793ba969a62c73 upstream.

Servers were emitting failed handoff messages but were not
waiting the full 1 second as designated in section 4.22.1 of
the eXtensible Host Controller Interface specifications. The
handshake was using wrong units so calls were made with milliseconds
not microseconds. Comments referenced 5 seconds not 1 second as
in specs.

The wrong units were also corrected in a second handshake call.

Signed-off-by: Jim Dickerson <jim.dickerson@hpe.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/pci-quirks.c