diff options
| author | 2026-09-16 23:30:55 +0800 | |
|---|---|---|
| committer | 2026-09-24 17:13:36 +0100 | |
| commit | cb5a15943d7d9c78cc5bef86ee080010c1029c70 (patch) | |
| tree | d39a1a8ede4b6f033f725ff49198c2732e400a85 /scripts/Makefile.thinlto | |
| parent | spi: sh-msiof: Add support for R-Car X5H (diff) | |
spi: use dmaengine_get_dma_device() for DMA mapping
Replace chan->device->dev with dmaengine_get_dma_device(chan) in the
SPI core (spi.c) and SPI mem (spi-mem.c) DMA mapping helpers so that
DMA mapping goes through the correct device when the DMA controller
has per-channel IOMMU domains (chan_dma_dev=true).
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260916-spi-dma-v1-1-2b30657d373d@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
