OMAP3: PM: reset USB OTG module on boot
commit6add890e2363027ced284d3fd1d298b92982ae0f
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 23 Jun 2009 23:02:55 +0000 (23 16:02 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:20:09 +0000 (23 11:20 -0700)
tree234b9330ee5a92ace9b771a526fe2169dc3bf69f
parentb258d9eb4a158a45847492f0dfddfe0799973bba
OMAP3: PM: reset USB OTG module on boot

FIXME: add USB OTG hwmod so this is not needed

Rather than simply setting force-idle mode on boot, do a reset of the
OTG module.  This really ensures that any bootloader/bootstrap code
that leaves it active will not prevent future retention.  After reset,
OTG module will be in force-idle, force-standby mode.

Problem reported by Mike Chan <mikechan@google.com>

Tested-by: Mike Chan <mikechan@google.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/usb-musb.c