]> git.baikalelectronics.ru Git - kernel.git/commit
usb: ehci: using wIndex + 1 for hub port
authorPeter Chen <peter.chen@freescale.com>
Tue, 5 Aug 2014 00:28:19 +0000 (08:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Aug 2014 20:11:27 +0000 (13:11 -0700)
commit39a3d8ba0c35ff63c5eef8c88a801b6c5be40b37
tree76d56f80ac94975e63e1867a2a2fd38c9514f4f0
parent07980fdb126a53ba8279552e825ddd2a4a56b098
usb: ehci: using wIndex + 1 for hub port

The roothub's index per controller is from 0, but the hub port index per hub
is from 1, this patch fixes "can't find device at roohub" problem for connecting
test fixture at roohub when do USB-IF Embedded Host High-Speed Electrical Test.

This patch is for v3.12+.

Cc: stable@vger.kernel.org
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hub.c