mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
Replace direct dma_chan::device::dev access with the proper dmaengine_get_dma_device() for consumer API. chan->device->dev is not always the device used for DMA mapping. Some DMA engines support per-channel IOMMU mappings, so different channels may use different DMA devices. dmaengine_get_dma_device() returns the correct device for each channel. This also prepares for making the DMA engine provider data structures private. DMA consumers should not access DMA engine internals directly. Link: https://lore.kernel.org/20260917205016.1293317-1-Frank.Li@oss.nxp.com Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Assisted-by: LLM Cc: Alexandre Bounine <alex.bou9@gmail.com> Cc: Dan Carpenter <error27@gmail.com> Cc: Kees Cook <kees@kernel.org> Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Vinod Koul <vkoul@kernel.org> |
||
|---|---|---|
| .. | ||
| devices | ||
| switches | ||
| Kconfig | ||
| Makefile | ||
| rio_cm.c | ||
| rio-access.c | ||
| rio-driver.c | ||
| rio-scan.c | ||
| rio-sysfs.c | ||
| rio.c | ||
| rio.h | ||