diff options
author | Hema HK <hemahk@ti.com> | 2010-09-20 19:29:59 +0530 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-09-27 17:10:22 -0500 |
commit | 8b67de2d894ac24c366c594aa57a6d30522f4b07 (patch) | |
tree | f534f9475c5b56f95f0ceefd5344988fc8af4d19 /include | |
parent | 18fb672f46082fb79145b3724e58d3018e852a20 (diff) |
usb: musb: avoid core retention when device is connected
Avoid USB and PHY power down when USB is active.
Signed-off-by: Hema HK <hemahk@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/musb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h index 780c152bbb5d..45892814493d 100644 --- a/include/linux/usb/musb.h +++ b/include/linux/usb/musb.h @@ -130,6 +130,9 @@ struct musb_hdrc_platform_data { /* Architecture specific board data */ void *board_data; + /* check usb device active state*/ + int (*is_usb_active)(struct device *dev); + /* omap hwmod data structure */ struct omap_hwmod *oh; |