spi: spi-qpic-snand: propagate errors from qcom_spi_block_erase()
The qcom_spi_block_erase() function returns with error in case of failure. Change the qcom_spi_send_cmdaddr() function to propagate these errors to the callers instead of returning with success. Fixes: 7304d190 ("spi: spi-qpic: add driver for QCOM SPI NAND flash Interface") Signed-off-by:Gabor Juhos <j4g8y7@gmail.com> Reviewed-by:
Abel Vesa <abel.vesa@linaro.org> Link: https://patch.msgid.link/20250423-qpic-snand-propagate-error-v1-1-4b26ed45fdb5@gmail.com Reviewed-by:
Md Sadre Alam <quic_mdalam@quicinc.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
Loading
Please register or sign in to comment