linux/drivers/usb/musb
Anand Gadiyar f933a0c0fe usb: musb: workaround MUSB DMA_INTR sometimes reads zero
MUSB DMA_INTR register may sometimes read zero when infact there
was a pending interrupt. Workaround this by reading the DMA_COUNT
values for all enabled channels when this condition occurs.
Flag these channels as the ones needing to be serviced.

Additionally, the absence of a debug print meant we would never
catch a spurious DMA interrupt in MUSB. So this patch adds a
debug print in the IRQ handler.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Ajay Kumar Gupta <ajay.gupta@ti.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-02 14:53:42 -08:00
..
blackfin.c USB: musb: workaround Blackfin FIFO anomalies 2009-12-23 11:34:19 -08:00
blackfin.h USB: musb: workaround Blackfin FIFO anomalies 2009-12-23 11:34:19 -08:00
cppi_dma.c USB: musb: fix for crash in DM646x USB when (CPPI)DMA is enabled 2009-12-23 11:34:17 -08:00
cppi_dma.h headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
davinci.c USB: musb: Populate the VBUS GPIO with the correct GPIO number 2009-12-23 11:34:13 -08:00
davinci.h USB: musb: partial DaVinci dm355 support 2009-03-24 16:20:36 -07:00
Kconfig USB: musb: Blackfin code needs NOP_USB_XCEIV too 2009-12-11 11:55:24 -08:00
Makefile USB: musb: add Blackfin Kconfig options and Makefile 2009-01-07 10:00:08 -08:00
musb_core.c USB: musb: Add new fifo table for a OMAP3 errata 2010-03-02 14:53:41 -08:00
musb_core.h USB: musb: remove some of the never defined defines 2010-03-02 14:53:29 -08:00
musb_debug.h usb: musb: fix debug global variable name 2008-11-13 14:45:01 -08:00
musb_dma.h USB: musb: add work around for Blackfin anomaly 05000456 2009-12-11 11:55:24 -08:00
musb_gadget_ep0.c USB: musb: gadget_ep0: avoid SetupEnd interrupt 2009-12-23 11:34:18 -08:00
musb_gadget.c USB: musb: Fix null pointer dereference issue 2009-12-23 11:34:19 -08:00
musb_gadget.h USB: musb_gadget_ep0: stop abusing musb_gadget_set_halt() 2009-12-11 11:55:25 -08:00
musb_host.c USB: musb: musb_host: fix sparse warning 2009-12-11 11:55:28 -08:00
musb_host.h musb: add high bandwidth ISO support 2009-06-15 21:44:41 -07:00
musb_io.h USB: musb: Blackfin provides read/write I/O accessor in header files 2009-01-07 10:00:08 -08:00
musb_regs.h USB: musb: kill compile warning for Blackfin systems 2009-12-11 11:55:24 -08:00
musb_virthub.c musb: support disconnect after HNP roleswitch 2009-06-15 21:44:41 -07:00
musbhsdma.c usb: musb: workaround MUSB DMA_INTR sometimes reads zero 2010-03-02 14:53:42 -08:00
musbhsdma.h usb: musb: hsdma: add wrapper for reading DMA count 2010-03-02 14:53:41 -08:00
omap2430.c USB: musb: omap2430: fix sparse warning 2009-12-11 11:55:28 -08:00
omap2430.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
tusb6010_omap.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
tusb6010.c musb: proper hookup to transceiver drivers 2009-06-15 21:44:40 -07:00
tusb6010.h USB: musb: Remove my email address from few musb related drivers 2009-04-23 14:15:27 -07:00