public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: MUSB: peripheral compile fix
@ 2007-08-17 16:12 Kevin Hilman
  2007-08-17 16:38 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2007-08-17 16:12 UTC (permalink / raw)
  To: linux-omap-open-source

Move error detection for "Stopping host session because of babble" 
inside host-ifdef since it doesn't apply (or compile) for gadget.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
 drivers/usb/musb/plat_uds.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: dev/drivers/usb/musb/plat_uds.c
===================================================================
--- dev.orig/drivers/usb/musb/plat_uds.c
+++ dev/drivers/usb/musb/plat_uds.c
@@ -598,7 +598,6 @@ static irqreturn_t musb_stage0_irq(struc
 		DBG(1, "CONNECT (%s) devctl %02x\n",
 				otg_state_string(musb), devctl);
 	}
-#endif	/* CONFIG_USB_MUSB_HDRC_HCD */
 
 	/* mentor saves a bit: bus reset and babble share the same irq.
 	 * only host sees babble; only peripheral sees bus reset.
@@ -627,6 +626,7 @@ static irqreturn_t musb_stage0_irq(struc
 
 		handled = IRQ_HANDLED;
 	}
+#endif	/* CONFIG_USB_MUSB_HDRC_HCD */
 
 	return handled;
 }
--

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: MUSB: peripheral compile fix
  2007-08-17 16:12 [PATCH] ARM: OMAP: MUSB: peripheral compile fix Kevin Hilman
@ 2007-08-17 16:38 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2007-08-17 16:38 UTC (permalink / raw)
  To: linux-omap-open-source

Kevin Hilman wrote:
> Move error detection for "Stopping host session because of babble" 
> inside host-ifdef since it doesn't apply (or compile) for gadget.

Oops, sent the wrong fix.  Ignore this one.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-17 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 16:12 [PATCH] ARM: OMAP: MUSB: peripheral compile fix Kevin Hilman
2007-08-17 16:38 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox