Skip to content
Verified Commit 04a8ff1b authored by Khairul Anuar Romli's avatar Khairul Anuar Romli Committed by Mark Brown
Browse files

spi: cadence-quadspi: fix cleanup of rx_chan on failure paths



Remove incorrect checks on cqspi->rx_chan that cause driver breakage
during failure cleanup. Ensure proper resource freeing on the success
path when operating in cqspi->use_direct_mode, preventing leaks and
improving stability.

Signed-off-by: default avatarKhairul Anuar Romli <khairul.anuar.romli@altera.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/89765a2b94f047ded4f14babaefb7ef92ba07cb2.1751274389.git.khairul.anuar.romli@altera.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4ec24e96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment