Title: [6469] trunk/drivers/usb/musb/blackfin.c: bug[#4120]Sometimes,the DMA complete interrupt never happens,this will cause the polling to dead loop
- Revision
- 6469
- Author
- cliff
- Date
- 2009-05-25 04:16:35 -0500 (Mon, 25 May 2009)
Log Message
bug[#4120]Sometimes,the DMA complete interrupt never happens,this will cause the polling to dead loop
Modified Paths
Diff
Modified: trunk/drivers/usb/musb/blackfin.c (6468 => 6469)
--- trunk/drivers/usb/musb/blackfin.c 2009-05-25 09:13:17 UTC (rev 6468)
+++ trunk/drivers/usb/musb/blackfin.c 2009-05-25 09:16:35 UTC (rev 6469)
@@ -94,8 +94,10 @@
void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
{
void __iomem *fifo = hw_ep->fifo;
-
-#if defined(CONFIG_MUSB_DMA_POLL)
+/* 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;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits