Unverified Commit 20d7b236 authored by Mikhail Kshevetskiy's avatar Mikhail Kshevetskiy Committed by Mark Brown
Browse files

spi: airoha: switch back to non-dma mode in the case of error



Current dirmap code does not switch back to non-dma mode in the case of
error. This is wrong.

This patch fixes dirmap read/write error path.

Fixes: a403997c ("spi: airoha: add SPI-NAND Flash controller driver")
Signed-off-by: default avatarMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Acked-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251012121707.2296160-6-mikhail.kshevetskiy@iopsys.eu


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent edd2e261
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment