diff options
author | Hema HK <hemahk@ti.com> | 2011-02-17 12:07:22 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-02-17 21:11:46 +0200 |
commit | 207b0e1f1655bd7008b7322cdc3f84fb171c546d (patch) | |
tree | 1fbc66d4fe420cff2065dde94481eb670afc9b73 /drivers/usb/otg | |
parent | ad1adb89a0d9410345d573b6995a1fa9f9b7c74a (diff) | |
download | linux-3.10-207b0e1f1655bd7008b7322cdc3f84fb171c546d.tar.gz linux-3.10-207b0e1f1655bd7008b7322cdc3f84fb171c546d.tar.bz2 linux-3.10-207b0e1f1655bd7008b7322cdc3f84fb171c546d.zip |
usb: musb: Using runtime pm APIs for musb.
Calling runtime pm APIs pm_runtime_put_sync() and pm_runtime_get_sync()
for enabling/disabling the clocks, sysconfig settings.
Enable clock, configure no-idle/standby when active and configure force idle/standby
and disable clock when idled. This is taken care by the runtime framework when
driver calls the pm_runtime_get_sync and pm_runtime_put_sync APIs.
Need to configure MUSB into force standby and force idle mode when usb not used
Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Cousson, Benoit <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/otg')
0 files changed, 0 insertions, 0 deletions