Title: [6717] trunk/drivers/usb/musb/musb_host.c: bug[#2424]disable double buffer mode for TX FIFO as well
- Revision
- 6717
- Author
- cliff
- Date
- 2009-06-15 04:20:05 -0500 (Mon, 15 Jun 2009)
Log Message
bug[#2424]disable double buffer mode for TX FIFO as well
Modified Paths
Diff
Modified: trunk/drivers/usb/musb/musb_host.c (6716 => 6717)
--- trunk/drivers/usb/musb/musb_host.c 2009-06-15 08:54:57 UTC (rev 6716)
+++ trunk/drivers/usb/musb/musb_host.c 2009-06-15 09:20:05 UTC (rev 6717)
@@ -822,8 +822,16 @@
| ((hw_ep->max_packet_sz_tx /
packet_sz) - 1) << 11);
else
- musb_writew(epio, MUSB_TXMAXP,
+#if defined(CONFIG_BLACKFIN) && ANOMALY_05000465
+ /* Set RXMAXP with the FIFO size of the endpoint
+ * to diable double buffer mode.
+ */
+ musb_writew(epio, MUSB_TXMAXP,
+ hw_ep->max_packet_sz_tx);
+#elif
+ musb_writew(epio, MUSB_TXMAXP,
packet_sz);
+#endif
musb_writeb(epio, MUSB_TXINTERVAL, qh->intv_reg);
} else {
musb_writeb(epio, MUSB_NAKLIMIT0, qh->intv_reg);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits