diff options
| author | Peng Fan <peng.fan@nxp.com> | 2026-09-16 23:25:26 +0800 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-10-10 16:37:20 +0200 |
| commit | 4906001042f89cc98f3b310254ab48a16132b17e (patch) | |
| tree | a63fb9aba84b4b92099081e9a723fc5bacc8dadb /tools/lib/python | |
| parent | ef3af9bb58a9f758622980c09974a9bb13f304f6 (diff) | |
| download | linux-next-4906001042f89cc98f3b310254ab48a16132b17e.tar.gz linux-next-4906001042f89cc98f3b310254ab48a16132b17e.zip | |
i2c: imx-lpi2c: use dmaengine_get_dma_device() for DMA mapping
Replace all chan->device->dev references with
dmaengine_get_dma_device(chan) so that DMA mapping goes through the
correct device when the DMA controller has per-channel IOMMU domains
(chan_dma_dev=true). Without this, DMA map/unmap bypasses the IOMMU
context configured by the eDMA driver.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patch.msgid.link/20260916-i2c-dma-v1-1-6dd4f1916910@nxp.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
