Marek Behún 5ea6dccee4 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>
2021-10-23 15:47:33 +05:30
..
2021-09-16 11:46:44 -04:00
2021-09-25 09:46:15 -06:00
2021-10-05 08:50:15 -04:00
2021-09-27 21:38:34 -04:00
2021-10-05 08:50:15 -04:00
2021-10-01 12:10:09 -04:00
2021-10-01 21:08:18 -04:00
2021-09-04 12:26:02 -04:00
2021-10-04 11:28:16 -04:00
2021-09-13 18:23:13 -04:00
2021-10-01 21:08:18 -04:00