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>
Fri, 1 Jun 2012 07:18:21 +0000 (15:18 +0800)
commitada3a3d0cb75f4cb015a2521badcffcf6d16ba45
tree839e08069481979d79c8af64f070241cb78fbc80
parent54c6b536f2c7ebc77f74937c3f4789ef191aa479
USB: EHCI: OMAP: Finish ehci omap phy reset cycle before adding hcd.

commit 3aa2ae74ba630ec9b98736d64aea8e4cb490861d upstream.

'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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c