WSL2-Linux-Kernel/drivers/usb/otg
Felipe Balbi 461c317705 USB: otg: twl4030: fix wrong assumption of starting state
The reset state of twl4030-usb is not sleeping, it starts
up awaken and we need to disable it if we have booted
with a disconnected cable to avoid over consumption on
the default state.

To avoid problems later, we read the current state of the
transceiver from the PHY_PWR_CTRL register. The bootloader
can, anyways, put the device to sleep before us.

Tested on a custom OMAP board.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-23 20:50:16 -07:00
..
Kconfig USB: otg/ulpi: add support for SMSC USB3319 ulpi phy 2010-08-10 14:35:40 -07:00
Makefile USB OTG: Add generic driver for ULPI OTG transceiver 2009-12-11 11:55:16 -08:00
gpio_vbus.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isp1301_omap.c USB: omap: switch to subsys_initcall for isp1301 transceiver 2010-05-20 13:21:38 -07:00
nop-usb-xceiv.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
otg.c USB: otg: Fix bug on remove path without transceiver 2009-04-23 14:15:31 -07:00
twl4030-usb.c USB: otg: twl4030: fix wrong assumption of starting state 2010-08-23 20:50:16 -07:00
ulpi.c USB: otg/ulpi: extend the generic ulpi driver. 2010-08-10 14:35:40 -07:00