diff options
author | Gabor Juhos <j4g8y7@gmail.com> | 2025-04-23 22:31:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-24 14:52:59 +0300 |
commit | 722a6ad4867ce8c4cb131a3371d0b5389a75dee0 (patch) | |
tree | d2ed7ceca3ad02c4dd1cd23c16c460819b32d311 /drivers/clocksource/qcom-timer.c | |
parent | 460b14b0929fa9f658a7e159ef646ce456962ab0 (diff) | |
download | linux-722a6ad4867ce8c4cb131a3371d0b5389a75dee0.tar.xz |
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: 7304d1909080 ("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>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions