diff options
author | Daniel Mack <zonque@gmail.com> | 2013-11-26 01:26:41 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-26 20:35:15 +0400 |
commit | 94f72136a86141604bcab75a2548b6488e70128d (patch) | |
tree | 21b6eb82743325b9f381822a1e188367f08a5ed0 /drivers/usb/musb/musb_virthub.c | |
parent | c338412b5dedf405d3f8ba3af1a61fa623319e1d (diff) | |
download | linux-94f72136a86141604bcab75a2548b6488e70128d.tar.xz |
usb: musb: call musb_port_suspend from musb_bus_suspend
Make musb_port_suspend() externally available, and call it when to host
goes into suspend. This allows the core to go into suspend while a
device is connected.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_virthub.c')
-rw-r--r-- | drivers/usb/musb/musb_virthub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_virthub.c b/drivers/usb/musb/musb_virthub.c index 9af6bba5eac9..e977441401ed 100644 --- a/drivers/usb/musb/musb_virthub.c +++ b/drivers/usb/musb/musb_virthub.c @@ -44,7 +44,7 @@ #include "musb_core.h" -static void musb_port_suspend(struct musb *musb, bool do_suspend) +void musb_port_suspend(struct musb *musb, bool do_suspend) { struct usb_otg *otg = musb->xceiv->otg; u8 power; |