]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: tegra210-quad: Allocate DMA memory for DMA engine
authorAaron Kling <webgeek1234@gmail.com>
Mon, 25 May 2026 06:47:44 +0000 (01:47 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 1 Jun 2026 14:12:06 +0000 (15:12 +0100)
commitf469138a77ac5ab685dfe15dfed7dccb9d5c33e5
tree5dd69aa4ea30fcf2c313f24e3984ca5021293779
parent4503b2fe761c2bfd33ed043d9b9deec0d1eb40e0
spi: tegra210-quad: Allocate DMA memory for DMA engine

When the SPI controllers are running in DMA mode, it is the DMA engine
that performs the memory accesses rather than the SPI controller. Pass
the DMA engine's struct device pointer to the DMA API to make sure the
correct DMA operations are used.

Suggested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Link: https://patch.msgid.link/20260525-tegra194-qspi-iommu-v2-1-a11c53f804b2@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra210-quad.c