USB: ehci-omap: Tweak PHY initialization sequence
authorRoger Quadros <rogerq@ti.com>
Fri, 14 Jun 2013 13:52:07 +0000 (16:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 20:56:25 +0000 (13:56 -0700)
commit4e5c9e6fa2d232a0686d5fe45cd1508484048936
tree35afb0682959bc64e883ff9b14923da9f2c6b92a
parent8fefcfdd276be1459aaa2b2648037d2c0e1a3caa
USB: ehci-omap: Tweak PHY initialization sequence

For PHY mode, the PHYs must be brought out of reset
before the EHCI controller is started.

This patch fixes the issue where USB devices are not found
on Beagleboard/Beagle-xm if USB has been started previously
by the bootloader. (e.g. by "usb start" command in u-boot)

Tested on Beagleboard, Beagleboard-xm and Pandaboard.

Issue present on 3.10 onwards.

Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Cc: stable <stable@vger.kernel.org> # 3.10
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c