]> git.baikalelectronics.ru Git - kernel.git/commit
spi: core: add dma_map_dev for dma device
authorVinod Koul <vkoul@kernel.org>
Fri, 25 Jun 2021 05:22:11 +0000 (10:52 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 25 Jun 2021 11:26:49 +0000 (12:26 +0100)
commit93779b9a53c7ba0f5073cdbc0fd154df3fab021d
treea773f13ce4c5fa815d661534cd3aadf75b7509a3
parente88f03181ffe3f264446fedb288fceba2563d3f7
spi: core: add dma_map_dev for dma device

Some controllers like qcom geni need the parent device to be used for
dma mapping, so add a dma_map_dev field and let drivers fill this to be
used as mapping device

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210625052213.32260-4-vkoul@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h