diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-03-31 15:30:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 00:44:40 -0400 |
commit | 84e250ffa76dddc1bad84e04248a27f442c25986 (patch) | |
tree | b253b1e2b030b160d2c458aece9c8122446e433f /drivers/usb/musb/musb_host.c | |
parent | cc835e321a9f3fa5e083436872e198095f4805b9 (diff) |
musb: proper hookup to transceiver drivers
Let the otg_transceiver in MUSB be managed by an external driver;
don't assume it's integrated. OMAP3 chips need it to be external,
and there may be ways to interact with the transceiver which add
functionality to the system.
Platform init code is responsible for setting up the transeciver,
probably using the NOP transceiver for integrated transceivers.
External ones will use whatever the board init code provided,
such as twl4030 or something more hands-off.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_host.c')
-rw-r--r-- | drivers/usb/musb/musb_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index c1bb192ecbef..0d1f15336a9c 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c | |||
@@ -2213,7 +2213,7 @@ static int musb_bus_suspend(struct usb_hcd *hcd) | |||
2213 | { | 2213 | { |
2214 | struct musb *musb = hcd_to_musb(hcd); | 2214 | struct musb *musb = hcd_to_musb(hcd); |
2215 | 2215 | ||
2216 | if (musb->xceiv.state == OTG_STATE_A_SUSPEND) | 2216 | if (musb->xceiv->state == OTG_STATE_A_SUSPEND) |
2217 | return 0; | 2217 | return 0; |
2218 | 2218 | ||
2219 | if (is_host_active(musb) && musb->is_active) { | 2219 | if (is_host_active(musb) && musb->is_active) { |