usb: musb: call musb_port_suspend from musb_bus_suspend
authorDaniel Mack <zonque@gmail.com>
Mon, 25 Nov 2013 21:26:41 +0000 (22:26 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 Nov 2013 16:35:15 +0000 (10:35 -0600)
commit94f72136a86141604bcab75a2548b6488e70128d
tree21b6eb82743325b9f381822a1e188367f08a5ed0
parentc338412b5dedf405d3f8ba3af1a61fa623319e1d
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>
drivers/usb/musb/musb_host.c
drivers/usb/musb/musb_host.h
drivers/usb/musb/musb_virthub.c