Commit 80fb5c71 authored by Thomas Gessler's avatar Thomas Gessler Committed by Greg Kroah-Hartman
Browse files

dmaengine: xilinx_dma: Set dma_device directions



[ Upstream commit 7e015114 ]

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: default avatarThomas Gessler <thomas.gessler@brueckmann-gmbh.de>
Reviewed-by: default avatarSuraj Gupta <suraj.gupta2@amd.com>
Tested-by: default avatarFolker Schwesinger <dev@folker-schwesinger.de>
Link: https://lore.kernel.org/r/20250507182101.909010-1-thomas.gessler@brueckmann-gmbh.de


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 98fd66c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment