linux-yocto/drivers/dma
Thomas Gessler 477c044309 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-10 15:57:32 +02:00
..
bestcomm
dw dmaengine: dw: Select only supported masters for ACPI devices 2025-01-09 13:28:38 +01:00
dw-axi-dmac Avoid hw_desc array overrun in dw-axi-dmac 2024-07-05 09:14:28 +02:00
dw-edma dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing 2023-05-11 23:00:38 +09:00
fsl-dpaa2-qdma dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools 2024-02-23 08:54:56 +01:00
hsu
idxd dmaengine: idxd: fix memory leak in error handling path of idxd_setup_groups 2025-05-22 14:08:26 +02:00
ioat dmaengine: ioatdma: Fix missing kmem_cache_destroy() 2024-07-05 09:14:33 +02:00
ipu
lgm dmaengine: lgm: Move DT parsing after initialization 2023-01-24 07:22:47 +01:00
mediatek dmaengine: mediatek: Fix deadlock caused by synchronize_irq() 2023-10-19 23:05:37 +02:00
ppc4xx
ptdma dmaengine: ptdma: use consistent DMA masks 2024-03-06 14:38:48 +00:00
qcom dma: gpi: remove spurious unlock in gpi_ch_init 2023-05-11 23:00:38 +09:00
sf-pdma dmaengine: sf-pdma: pdma_desc memory leak fix 2023-03-10 09:39:42 +01:00
sh dmaengine: shdma: increase size of 'dev_id' 2024-03-01 13:21:43 +01:00
ti dmaengine: ti: Add NULL check in udma_probe() 2025-06-27 11:05:16 +01:00
xilinx dmaengine: xilinx_dma: Set dma_device directions 2025-07-10 15:57:32 +02:00
acpi-dma.c
altera-msgdma.c
amba-pl08x.c
at_hdmac_regs.h dmaengine: at_hdmac: Fix at_lli struct definition 2022-11-16 09:58:28 +01:00
at_hdmac.c dmaengine: at_hdmac: Check return code of dma_async_device_register 2022-11-16 09:58:30 +01:00
at_xdmac.c dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset 2025-01-09 13:28:38 +01:00
bcm-sba-raid.c
bcm2835-dma.c
dma-axi-dmac.c dmaengine: axi-dmac: fix possible race in remove() 2024-07-05 09:14:21 +02:00
dma-jz4780.c
dmaengine.c dmaengine: fix NULL pointer in channel unregistration function 2024-02-23 08:54:21 +01:00
dmaengine.h
dmatest.c dmaengine: Revert "dmaengine: dmatest: Fix dmatest waiting less when interrupted" 2025-05-22 14:08:24 +02:00
ep93xx_dma.c
fsl_raid.c
fsl_raid.h
fsl-edma-common.c
fsl-edma-common.h
fsl-edma.c
fsl-qdma.c dmaengine: fsl-qdma: init irq after reg initialization 2024-03-06 14:38:48 +00:00
fsldma.c
fsldma.h
hisi_dma.c dmaengine: hisilicon: Add multi-thread support for a DMA channel 2022-10-26 12:35:08 +02:00
idma64.c dmaengine: idma64: Add check for dma_set_max_seg_size 2024-06-16 13:39:34 +02:00
idma64.h
img-mdc-dma.c
imx-dma.c
imx-sdma.c dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init 2023-02-06 07:59:00 +01:00
iop-adma.c
iop-adma.h
k3dma.c
Kconfig dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA 2024-03-26 18:21:25 -04:00
lpc18xx-dmamux.c
Makefile
mcf-edma.c dmaengine: mcf-edma: Fix a potential un-allocated memory access 2023-08-16 18:22:02 +02:00
milbeaut-hdmac.c
milbeaut-xdmac.c
mmp_pdma.c
mmp_tdma.c
moxart-dma.c
mpc512x_dma.c
mv_xor_v2.c dmaengine: mv_xor_v2: Fix an error code. 2023-05-11 23:00:37 +09:00
mv_xor.c dmaengine: mv_xor: fix child node refcount handling in early exit 2025-01-09 13:28:38 +01:00
mv_xor.h
mxs-dma.c dmaengine: mxs: use platform_driver_register 2022-10-26 12:34:23 +02:00
nbpfaxi.c
of-dma.c
owl-dma.c dmaengine: owl: fix register access functions 2024-05-02 16:24:49 +02:00
pch_dma.c
pl330.c dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state" 2024-05-17 11:50:43 +02:00
plx_dma.c
pxa_dma.c dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc() 2023-11-20 11:08:26 +01:00
s3c24xx-dma.c
sa11x0-dma.c
sprd-dma.c dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed 2022-08-25 11:40:38 +02:00
st_fdma.c
st_fdma.h
ste_dma40_ll.c
ste_dma40_ll.h
ste_dma40.c dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe 2023-11-08 17:26:45 +01:00
stm32-dma.c
stm32-dmamux.c
stm32-mdma.c dmaengine: stm32-mdma: correct desc prep when channel running 2023-11-28 16:56:31 +00:00
sun4i-dma.c
sun6i-dma.c
tegra20-apb-dma.c
tegra210-adma.c dmaengine: tegra210-adma: fix global intr clear 2023-01-24 07:22:47 +01:00
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
uniphier-mdmac.c
uniphier-xdmac.c
virt-dma.c
virt-dma.h
xgene-dma.c