]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: musb: dsps: Manage CPPI 4.1 DMA interrupt in DSPS
authorAlexandre Bailon <abailon@baylibre.com>
Tue, 7 Feb 2017 04:53:56 +0000 (22:53 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 12:35:05 +0000 (13:35 +0100)
commit255348289f714b96e0e95f9b702f435a638e6fd4
tree8582ea828878ab62ba768725eccf809897e2f07d
parenta96ca0d20636b594f28772454eedb2b7d8da5a1b
usb: musb: dsps: Manage CPPI 4.1 DMA interrupt in DSPS

Despite the CPPI 4.1 is a generic DMA, it is tied to USB.
On the DSPS, CPPI 4.1 interrupt's registers are in USBSS (the MUSB glue).
Currently, to enable / disable and clear interrupts, the CPPI 4.1 driver
maps and accesses to USBSS's register, which making CPPI 4.1 driver not
really generic.
Move the interrupt management to DSPS driver.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/cppi41.c
drivers/usb/musb/musb_dsps.c