]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: geni-qcom: Fix abort sequence execution for serial engine errors
authorPraveen Talari <praveen.talari@oss.qualcomm.com>
Wed, 4 Feb 2026 16:28:52 +0000 (21:58 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 17:37:34 +0000 (17:37 +0000)
commit96e041647bb0f9d92f95df1d69cb7442d7408b79
treed86ad79c8ac9c26e173120f0981c5af906b07edf
parent50464497b5874b7c2f3ab991cec81e916d40743c
spi: geni-qcom: Fix abort sequence execution for serial engine errors

The driver currently skips the abort sequence for target mode when serial
engine errors occur. This leads to improper error recovery as the serial
engine may remain in an undefined state without proper cleanup, potentially
causing subsequent operations to fail or behave unpredictably.

Fix this by ensuring the abort sequence and DMA reset always execute during
error recovery, as both are required for proper serial engine error
handling.

Co-developed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260204162854.1206323-3-praveen.talari@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-geni-qcom.c