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

2021-07-20 Thread Simon Glass
On Wed, 14 Jul 2021 at 17:51, Marek Behún wrote: > > The cleanup code of spi_nor_erase() function calls write_disable(), but > does not return it's return value even in case of failure. Fix this. > > Signed-off-by: Marek Behún > Tested-by: Masami Hiramatsu > --- >

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

2021-07-14 Thread Marek Behún
The cleanup code of spi_nor_erase() function calls write_disable(), but does not return it's return value even in case of failure. Fix this. Signed-off-by: Marek Behún Tested-by: Masami Hiramatsu --- drivers/mtd/spi/spi-nor-core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff