On Wed, Sep 22, 2010 at 05:48:02AM -0500, Balbi, Felipe wrote:
could you check if it works ??
here's in diff form:
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index d4f18bb..b7d97ac 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -552,6 +552,9 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb,
DBG(1, "SESSION_REQUEST (%s)\n", otg_state_string(musb));
+ if (devctl & MUSB_DEVCTL_BDEVICE)
+ return;
+
/* IRQ arrives from ID pin sense or (later, if VBUS power
* is removed) SRP. responses are time critical:
* - turn on VBUS (with silicon-specific mechanism)
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html