linux/drivers/dma/xilinx
Lars-Peter Clausen a63ddc3857 dmaengine: xilinx_dma: Correctly handle cyclic descriptor callbacks
DMA clients can provide one of two types of callbacks. For this reason
dmaengine drivers should not directly invoke `callback`, but always use
`dmaengine_desc_callback_invoke()`. This makes sure that both types of
callbacks are handled correctly.

The xilinx_dma driver currently doesn't do this for cyclic descriptors and
only handles the `callback` type callback. If the client used the
`callback_result` type callback it will not be called.

Fix this by switching to `dmaengine_desc_callback_valid()` and
`dmaengine_desc_callback_invoke()`.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20211025075428.2094-2-lars@metafoo.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-10-28 22:53:54 +05:30
..
Makefile dmaengine: xilinx: dpdma: Add the Xilinx DisplayPort DMA engine driver 2020-07-17 11:37:59 +05:30
xilinx_dma.c dmaengine: xilinx_dma: Correctly handle cyclic descriptor callbacks 2021-10-28 22:53:54 +05:30
xilinx_dpdma.c dmaengine: remove debugfs #ifdef 2021-10-25 12:01:14 +05:30
zynqmp_dma.c dmaengine: zynqmp_dma: fix lockdep warning in tasklet 2021-10-01 17:26:30 +05:30