summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2026-09-17 16:47:06 -0400
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-09-25 15:41:31 +0200
commita018524a2ec96da5bb1965053967a20e0069ed9e (patch)
tree934ddfbafb2002f9c77683984d81ecd371fd8a2b /scripts/Makefile.thinlto
parent904f18430e8cce829cb9130eab7a93020e33fc89 (diff)
downloadlinux-a018524a2ec96da5bb1965053967a20e0069ed9e.tar.gz
linux-a018524a2ec96da5bb1965053967a20e0069ed9e.zip
mtd: 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. Assisted-by: LLM Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions