Title: [7731] trunk/drivers/usb/musb/musb_gadget.c: bug[#5489]restore the disabling of tx double buffering,root cause is not here
- Revision
- 7731
- Author
- cliff
- Date
- 2009-10-30 03:56:41 -0400 (Fri, 30 Oct 2009)
Log Message
bug[#5489]restore the disabling of tx double buffering,root cause is not here
Modified Paths
Diff
Modified: trunk/drivers/usb/musb/musb_gadget.c (7730 => 7731)
--- trunk/drivers/usb/musb/musb_gadget.c 2009-10-30 04:30:54 UTC (rev 7730)
+++ trunk/drivers/usb/musb/musb_gadget.c 2009-10-30 07:56:41 UTC (rev 7731)
@@ -930,7 +930,14 @@
/* REVISIT if can_bulk_split(), use by updating "tmp";
* likewise high bandwidth periodic tx
*/
+#if defined(CONFIG_BLACKFIN) && ANOMALY_05000450
+ /* Set TXMAXP with the FIFO size of the endpoint
+ * to disable double buffer mode.
+ */
+ musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx);
+#else
musb_writew(regs, MUSB_TXMAXP, tmp);
+#endif
csr = MUSB_TXCSR_MODE | MUSB_TXCSR_CLRDATATOG;
if (musb_readw(regs, MUSB_TXCSR)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits