[PATCH RESEND u-boot-spi 2/8] mtd: spi-nor-core: Check return value of write_enable() in spi_nor_erase()

Simon Glass sjg at chromium.org
Tue Jul 20 20:32:55 CEST 2021


On Wed, 14 Jul 2021 at 17:51, Marek Behún <marek.behun at nic.cz> wrote:
>
> 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 at nic.cz>
> Tested-by: Masami Hiramatsu <masami.hiramatsu at linaro.org>
> ---
>  drivers/mtd/spi/spi-nor-core.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list