]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: qcom: gpi: Set link_rx bit on GO TRE for rx operation
authorVijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Fri, 16 Dec 2022 17:38:13 +0000 (23:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:02 +0000 (08:34 +0100)
commit9f3b2eb58aadfed366cb8bb70d0841117fb153ac
treee64cbd29d463dd6e6c317d1c66137c6100395173
parentd6c9def44f5566fcb244cfd63aacc6301b1f3250
dmaengine: qcom: gpi: Set link_rx bit on GO TRE for rx operation

[ Upstream commit 25e8ac233d24051e2c4ff64c34f60609b0988568 ]

Rx operation on SPI GSI DMA is currently not working.
As per GSI spec, link_rx bit is to be set on GO TRE on tx
channel whenever there is going to be a DMA TRE on rx
channel. This is currently set for duplex operation only.

Set the bit for rx operation as well.
This is part of changes required to bring up Rx.

Fixes: 380697a58fd5 ("dmaengine: qcom: gpi: set chain and link flag for duplex")
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/1671212293-14767-1-git-send-email-quic_vnivarth@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/qcom/gpi.c