OSDN Git Service

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>
Mon, 18 Sep 2017 15:10:41 +0000 (17:10 +0200)
commit114ec3a6f9096d211a4aff4277793ba969a62c73
treeea108e6e74f16bd5ed5e335b0a61c0c2ced6e5be
parent5a838a13c9b4e5dd188b7a6eaeb894e9358ead0c
usb: pci-quirks.c: Corrected timeout values used in handshake

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.

Cc: <stable@vger.kernel.org>
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