]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: musb: dma: Add a DMA completion platform callback
authorAlexandre Bailon <abailon@baylibre.com>
Tue, 7 Feb 2017 04:53:51 +0000 (22:53 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 12:35:05 +0000 (13:35 +0100)
commit050dc900cfe88cc890d145c02e1a492915d93cce
tree895b5969355370aa5bac1cad4ebd3740af3eec87
parent7c92e5fbf4dac0dd4dd41a0383adc54f16f403e2
usb: musb: dma: Add a DMA completion platform callback

Currently, the CPPI 4.1 driver is not completely generic and
only works on DSPS. This is because of IRQ management.
Add a callback to dma_controller that could be invoked on DMA completion
to acknowledge the IRQ.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_cppi41.c
drivers/usb/musb/musb_dma.h