* [PATCH] ARM: OMAP: MUSB: fix compile for non-OTG modes
@ 2007-08-16 18:18 Kevin Hilman
2007-08-17 7:18 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2007-08-16 18:18 UTC (permalink / raw)
To: linux-omap-open-source
Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
drivers/usb/musb/plat_uds.c | 2 ++
1 file changed, 2 insertions(+)
Index: pristine/drivers/usb/musb/plat_uds.c
===================================================================
--- pristine.orig/drivers/usb/musb/plat_uds.c
+++ pristine/drivers/usb/musb/plat_uds.c
@@ -737,9 +737,11 @@ static irqreturn_t musb_stage2_irq(struc
handled = IRQ_HANDLED;
switch (musb->xceiv.state) {
+#ifdef CONFIG_USB_MUSB_OTG
case OTG_STATE_A_PERIPHERAL:
musb_hnp_stop(musb);
break;
+#endif
case OTG_STATE_B_PERIPHERAL:
musb_g_suspend(musb);
musb->is_active = is_otg_enabled(musb)
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP: MUSB: fix compile for non-OTG modes
2007-08-16 18:18 [PATCH] ARM: OMAP: MUSB: fix compile for non-OTG modes Kevin Hilman
@ 2007-08-17 7:18 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-08-17 7:18 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-omap-open-source
* Kevin Hilman <khilman@mvista.com> [070816 11:18]:
> Signed-off-by: Kevin Hilman <khilman@mvista.com>
> ---
> drivers/usb/musb/plat_uds.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> Index: pristine/drivers/usb/musb/plat_uds.c
> ===================================================================
> --- pristine.orig/drivers/usb/musb/plat_uds.c
> +++ pristine/drivers/usb/musb/plat_uds.c
> @@ -737,9 +737,11 @@ static irqreturn_t musb_stage2_irq(struc
> handled = IRQ_HANDLED;
>
> switch (musb->xceiv.state) {
> +#ifdef CONFIG_USB_MUSB_OTG
> case OTG_STATE_A_PERIPHERAL:
> musb_hnp_stop(musb);
> break;
> +#endif
> case OTG_STATE_B_PERIPHERAL:
> musb_g_suspend(musb);
> musb->is_active = is_otg_enabled(musb)
Thanks, pushing today.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-17 7:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-16 18:18 [PATCH] ARM: OMAP: MUSB: fix compile for non-OTG modes Kevin Hilman
2007-08-17 7:18 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox