Commit 722a6ad
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: 7304d19 ("spi: spi-qpic: add driver for QCOM SPI NAND flash Interface")
Signed-off-by: Gabor Juhos <[email protected]>
Reviewed-by: Abel Vesa <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Md Sadre Alam <[email protected]>
Signed-off-by: Mark Brown <[email protected]>1 parent 460b14b commit 722a6ad
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
1310 | | - | |
1311 | | - | |
| 1310 | + | |
1312 | 1311 | | |
1313 | 1312 | | |
1314 | 1313 | | |
| |||
0 commit comments