linux/drivers/dma/xilinx
Thomas Gessler 80fb5c71ae 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 11:01:33 +02:00
..
Makefile dmaengine: xilinx: xdma: Add xilinx xdma driver 2023-02-10 11:32:26 +05:30
xdma-regs.h dmaengine: xilinx: xdma: Fix synchronization issue 2024-04-07 17:08:45 +05:30
xdma.c dmaengine: xilinx: xdma: Fix data synchronisation in xdma_channel_isr() 2024-06-07 22:41:51 +05:30
xilinx_dma.c dmaengine: xilinx_dma: Set dma_device directions 2025-07-06 11:01:33 +02:00
xilinx_dpdma.c dmaengine: Fix spelling mistakes 2024-09-02 13:56:01 +05:30
zynqmp_dma.c dmaengine: zynqmp_dma: Add support for AMD Versal Gen 2 DMA IP 2024-08-29 22:46:16 +05:30