Title: [9045] trunk/drivers/usb/musb/blackfin.c: [6142]Restart timer handler in order to recognize USB device in host-only mode.
Revision
9045
Author
lliubbo
Date
2010-08-04 02:54:10 -0400 (Wed, 04 Aug 2010)

Log Message

[6142]Restart timer handler in order to recognize USB device in host-only mode.

Modified Paths

Diff

Modified: trunk/drivers/usb/musb/blackfin.c (9044 => 9045)


--- trunk/drivers/usb/musb/blackfin.c	2010-08-04 06:35:54 UTC (rev 9044)
+++ trunk/drivers/usb/musb/blackfin.c	2010-08-04 06:54:10 UTC (rev 9045)
@@ -171,8 +171,8 @@
 	}
 
 	/* Start sampling ID pin, when plug is removed from MUSB */
-	if (is_otg_enabled(musb) && (musb->xceiv->state == OTG_STATE_B_IDLE
-		|| musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) {
+	if ((musb->xceiv->state == OTG_STATE_B_IDLE ||
+			musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) {
 		mod_timer(&musb_conn_timer, jiffies + TIMER_DELAY);
 		musb->a_wait_bcon = TIMER_DELAY;
 	}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to