]> git.ipfire.org Git - thirdparty/kernel/stable.git/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 09:56:08 +0000 (11:56 +0200)
commitdac85f51d8143fefe4db7808a95cb81eb5435ed1
tree9f61520de5ec550d82dbf28a154b278aba65da18
parentee93eb98bc606a6c6dc37a04f6264ebb514117ab
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