commit | 5ea6dccee45ab941cfc78fbbfd9600ef24c5ca60 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Tue Oct 05 15:55:58 2021 +0200 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Sat Oct 23 15:47:33 2021 +0530 |
tree | 36ca5f7b033dbbf99b2b97efc2daba2589ef9d45 | |
parent | 36384f612da992ab485c4b7cd768a89e8c3fe8cf [diff] |
mtd: spi-nor-core: Check return value of write_enable() in spi_nor_erase() The spi_nor_erase() function does not check return value of the write_enable() call. Fix this. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Tested-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>