diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-08-11 12:02:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-24 05:50:16 +0200 |
commit | 461c317705eca5cac09a360f488715927fd0a927 (patch) | |
tree | 680ffe25b91adce6638a727657f5898a8d9c4ec1 /CREDITS | |
parent | USB: gadget: Return -ENOMEM on memory allocation failure (diff) | |
download | linux-461c317705eca5cac09a360f488715927fd0a927.tar.xz linux-461c317705eca5cac09a360f488715927fd0a927.zip |
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 'CREDITS')
0 files changed, 0 insertions, 0 deletions