linux/drivers/dma/xilinx
Thomas Gessler 8b5fbe08e5 dmaengine: xilinx_dma: Set dma_device directions
[ Upstream commit 7e01511443 ]

Coalesce the direction bits from the enabled TX and/or RX channels into
the directions bit mask of dma_device. Without this mask set,
dma_get_slave_caps() in the DMAEngine fails, which prevents the driver
from being used with an IIO DMAEngine buffer.

Signed-off-by: Thomas Gessler <thomas.gessler@brueckmann-gmbh.de>
Reviewed-by: Suraj Gupta <suraj.gupta2@amd.com>
Tested-by: Folker Schwesinger <dev@folker-schwesinger.de>
Link: https://lore.kernel.org/r/20250507182101.909010-1-thomas.gessler@brueckmann-gmbh.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-07-06 10:57:54 +02:00
..
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: Set dma_device directions 2025-07-06 10:57:54 +02:00
xilinx_dpdma.c dma: xilinx_dpdma: Fix locking 2024-05-02 16:29:31 +02:00
zynqmp_dma.c dmaengine updates for v6.1-rc1 2022-10-07 15:56:34 -07:00