diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-08-11 13:02:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-23 20:50:16 -0700 |
commit | 461c317705eca5cac09a360f488715927fd0a927 (patch) | |
tree | 680ffe25b91adce6638a727657f5898a8d9c4ec1 /drivers/usb/serial | |
parent | 7c81aafaf059b81ead2330bc13db78269ef62612 (diff) | |
download | linux-rt-461c317705eca5cac09a360f488715927fd0a927.tar.gz |
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>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions