Home
last modified time | relevance | path

Searched hist:"3 a76c7ca9e77269dd10cf21465a055274cfa40c6" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/spi/
H A Dspi-geni-qcom.cdiff 3a76c7ca9e77269dd10cf21465a055274cfa40c6 Wed May 17 14:18:14 CEST 2023 Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com> spi: spi-geni-qcom: Do not do DMA map/unmap inside driver, use framework instead

The spi geni driver in SE DMA mode, unlike GSI DMA, is not making use of
DMA mapping functionality available in the framework.
The driver does mapping internally which makes dma buffer fields available
in spi_transfer struct superfluous while requiring additional members in
spi_geni_master struct.

Conform to the design by having framework handle map/unmap and do only
DMA transfer in the driver; this also simplifies code a bit.

Fixes: e5f0dfa78ac7 ("spi: spi-geni-qcom: Add support for SE DMA mode")
Suggested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/1684325894-30252-3-git-send-email-quic_vnivarth@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>