WSL2-Linux-Kernel/drivers/dma/dw-axi-dmac
Ben Dooks 54aa6c4936 dmaengine: dw-axi-dmac: ignore interrupt if no descriptor
[ Upstream commit 820f5ce999 ]

If the channel has no descriptor and the interrupt is raised then the
kernel will OOPS. Check the result of vchan_next_desc() in the handler
axi_chan_block_xfer_complete() to avoid the error happening.

Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
Link: https://lore.kernel.org/r/20220708170153.269991-4-ben.dooks@sifive.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:40:37 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
dw-axi-dmac-platform.c dmaengine: dw-axi-dmac: ignore interrupt if no descriptor 2022-08-25 11:40:37 +02:00
dw-axi-dmac.h dmaengine: dw-axi-dmac: support parallel memory <--> peripheral transfers 2021-08-02 12:19:52 +05:30