linux-yocto/drivers/dma/xilinx
Thomas Gessler 7d942dbcd1 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>
2025-07-06 11:00:06 +02:00
..
Makefile
xdma-regs.h
xdma.c
xilinx_dma.c dmaengine: xilinx_dma: Set dma_device directions 2025-07-06 11:00:06 +02:00
xilinx_dpdma.c
zynqmp_dma.c