mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
The geni_se_xx_dma_prep() interfaces necessarily do DMA mapping before
initiating DMA transfers. This is not suitable for spi where framework
is expected to handle map/unmap.
Expose new interfaces geni_se_xx_init_dma() which do only DMA transfer.
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/1684325894-30252-2-git-send-email-quic_vnivarth@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Bug: 370629635
Change-Id: I14cc6034fe404cd0777482965c98c30456547d57
(cherry picked from commit 6d6e575949)
Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com>