diff options
author | 2010-08-11 13:02:32 +0300 | |
---|---|---|
committer | 2010-08-23 20:50:16 -0700 | |
commit | 461c317705eca5cac09a360f488715927fd0a927 (patch) | |
tree | 680ffe25b91adce6638a727657f5898a8d9c4ec1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | USB: gadget: Return -ENOMEM on memory allocation failure (diff) | |
download | wireguard-linux-461c317705eca5cac09a360f488715927fd0a927.tar.xz wireguard-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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions