Title: [6647] branches/2009R1/drivers/usb/musb/blackfin.c: bug[#4120]open the DMA polling mode,since the anomaly related to this bug can be workaround in ohter place
Revision
6647
Author
cliff
Date
2009-06-11 04:26:06 -0500 (Thu, 11 Jun 2009)

Log Message

bug[#4120]open the DMA polling mode,since the anomaly related to this bug can be workaround in ohter place

Modified Paths

Diff

Modified: branches/2009R1/drivers/usb/musb/blackfin.c (6646 => 6647)


--- branches/2009R1/drivers/usb/musb/blackfin.c	2009-06-11 09:22:41 UTC (rev 6646)
+++ branches/2009R1/drivers/usb/musb/blackfin.c	2009-06-11 09:26:06 UTC (rev 6647)
@@ -94,12 +94,9 @@
 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
 {
 	void __iomem *fifo = hw_ep->fifo;
-/* Sometimes,the DMA complete interrupt never happens,
- * this will cause the polling to dead loop.
- */
-#if 0
-	u8 epnum = hw_ep->epnum;
-	u16 dma_reg = 0;
+#if defined(CONFIG_MUSB_DMA_POLL)
+        u8 epnum = hw_ep->epnum;
+        u16 dma_reg = 0;
 
 	invalidate_dcache_range((unsigned int)dst,
 		(unsigned int)(dst + len));
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to