ARM: OMAP: MUSB: peripheral compile fix
Subsystems (2)
PATCH 1/1 ARM: OMAP: MUSB: peripheral compile fix
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 <[email protected]>
--- drivers/usb/musb/plat_uds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/musb/plat_uds.c +1 -1
@@ -598,7 +598,6 @@ static irqreturn_t musb_stage0_irq(strucDBG (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; }
--
Quoted 2 lines · Kevin Hilman
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.