Files
Frank Li 858e9d1a8b rapidio: use dmaengine_get_dma_device() instead of chan->device->dev
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/[email protected]
Signed-off-by: Frank Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Assisted-by: LLM
Cc: Alexandre Bounine <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Matt Porter <[email protected]>
Cc: Vinod Koul <[email protected]>
2026-10-13 21:25:46 -07:00
..
2024-05-14 23:36:19 +09:00
…
2025-05-11 17:54:09 -07:00