Title: [4056] trunk/drivers/usb/musb/musb_host.c: [#3778] really fixed by adding Host mode disable PING packet and revert #4055 checkin
Revision
4056
Author
cooloney
Date
2007-12-19 20:34:17 -0600 (Wed, 19 Dec 2007)

Log Message

[#3778] really fixed by adding Host mode disable PING packet and revert #4055 checkin

Diffstat

 musb_host.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

Modified Paths

Diff

Modified: trunk/drivers/usb/musb/musb_host.c (4055 => 4056)


--- trunk/drivers/usb/musb/musb_host.c	2007-12-19 04:42:48 UTC (rev 4055)
+++ trunk/drivers/usb/musb/musb_host.c	2007-12-20 02:34:17 UTC (rev 4056)
@@ -1108,7 +1108,7 @@
 	if (unlikely(!urb)) {
 		/* stop endpoint since we have no place for its data, this
 		 * SHOULD NEVER HAPPEN! */
-		DBG(1, "no URB for end 0\n");
+		ERR("no URB for end 0\n");
 
 		musb_writew(epio, MUSB_CSR0, MUSB_CSR0_FLUSHFIFO);
 		musb_writew(epio, MUSB_CSR0, MUSB_CSR0_FLUSHFIFO);
@@ -1133,6 +1133,8 @@
 				csr = MUSB_CSR0_H_STATUSPKT
 					| MUSB_CSR0_TXPKTRDY;
 
+			csr |= MUSB_CSR0_H_DIS_PING;
+
 			/* flag status stage */
 			musb->ep0_stage = MUSB_EP0_STATUS;
 
@@ -1835,9 +1837,6 @@
 	case USB_ENDPOINT_XFER_ISOC:
 		/* iso always uses log encoding */
 		break;
-	case USB_ENDPOINT_XFER_CONTROL:
-		interval = (USB_SPEED_HIGH == urb->dev->speed) ? 8 : 0;
-		break;
 	default:
 		/* REVISIT we actually want to use NAK limits, hinting to the
 		 * transfer scheduling logic to try some other qh, e.g. try
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to