tmp_suning_uos_patched/drivers/usb/musb
Daniel Glöckner 8d6499e5bd USB: musb: Fix CPPI IRQs not being signaled
On tx channel abort a cppi interrupt is generated for a short time by
setting the lowest bit of the TCPPICOMPPTR register. It is then reset
immediately by clearing the bit. When the interrupt handler is run,
it does not detect an interrupt in the TCPPIMSKSR or RCPPIMSKSR
registers and thus exits early without writing the TCPPIEOIR register.
It appears that this inhibits further cppi interrupts until the handler
is called by chance, f.ex. from davinci_interrupt().

By moving the unmasking of the interrupt below the writes to
TCPPICOMPPTR, no interrupt is generated and no write to TCPPIEOIR is
necessary.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-11-30 16:43:16 -08:00
..
blackfin.c
blackfin.h
cppi_dma.c USB: musb: Fix CPPI IRQs not being signaled 2009-11-30 16:43:16 -08:00
cppi_dma.h
davinci.c
davinci.h
Kconfig
Makefile
musb_core.c
musb_core.h
musb_debug.h
musb_dma.h
musb_gadget_ep0.c
musb_gadget.c
musb_gadget.h
musb_host.c
musb_host.h
musb_io.h
musb_regs.h
musb_virthub.c
musbhsdma.c
musbhsdma.h
omap2430.c
omap2430.h
tusb6010_omap.c
tusb6010.c
tusb6010.h