summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-i801.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2022-10-20 17:39:33 +0300
committerWolfram Sang <wsa@kernel.org>2022-11-01 15:36:58 +0300
commitcdbf26251d3b35c4ccaea0c3a6de4318f727d3d2 (patch)
treeb66ee2cee7fb8e7cd16c4e623de597e3a4142aeb /drivers/i2c/busses/i2c-i801.c
parent569bea74c94d37785682b11bab76f557520477cd (diff)
downloadlinux-cdbf26251d3b35c4ccaea0c3a6de4318f727d3d2.tar.xz
i2c: tegra: Allocate DMA memory for DMA engine
When the I2C controllers are running in DMA mode, it is the DMA engine that performs the memory accesses rather than the I2C controller. Pass the DMA engine's struct device pointer to the DMA API to make sure the correct DMA operations are used. This fixes an issue where the DMA engine's SMMU stream ID needs to be misleadingly set for the I2C controllers in device tree. Suggested-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
0 files changed, 0 insertions, 0 deletions