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

2021-09-28 Thread Pratyush Yadav
On 25/09/21 07:33PM, Marek Behún wrote: > From: Marek Behún > > The spi_nor_erase() function does not check return value of the > write_enable() call. Fix this. This is the case for many more calls for write_enable(), but we can fix them later I suppose. Reviewed-by: Pratyush Yadav > >

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

2021-09-25 Thread Marek Behún
From: Marek Behún The spi_nor_erase() function does not check return value of the write_enable() call. Fix this. Signed-off-by: Marek Behún Reviewed-by: Simon Glass Reviewed-by: Jagan Teki Tested-by: Masami Hiramatsu --- drivers/mtd/spi/spi-nor-core.c | 4 +++- 1 file changed, 3