USB: EHCI: OMAP: Finish ehci omap phy reset cycle before adding hcd.
authorRuss Dill <Russ.Dill@ti.com>
Fri, 4 May 2012 11:24:47 +0000 (04:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 May 2012 00:05:45 +0000 (17:05 -0700)
commit3aa2ae74ba630ec9b98736d64aea8e4cb490861d
tree6c7555c75054c67fb8c9741898d012fc6dbab0fa
parent3cccc292524dfd5d77f38f52116b1da4864e3789
USB: EHCI: OMAP: Finish ehci omap phy reset cycle before adding hcd.

'ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue' (1fcb57d0f) created a regression
with Beagleboard xM if booting the kernel after running 'usb start' under u-boot.

Finishing the reset before calling 'usb_add_hcd' fixes the regression. This is most likely due to
usb_add_hcd calling the driver's reset and init functions which expect the hardware to be
up and running.

Signed-off-by: Russ Dill <Russ.Dill@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: stable <stable@vger.kernel.org> [3.4]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c