Re: [PATCH RESEND u-boot-spi 1/8] mtd: spi-nor-core: Try cleaning up in case writing BAR failed

2021-07-21 Thread Jagan Teki
On Thu, Jul 15, 2021 at 5:21 AM Marek Behún wrote: > > Use the cleanup codepath of spi_nor_erase() also in the event of failure > of writing the BAR register. > > Signed-off-by: Marek Behún > Tested-by: Masami Hiramatsu > --- Reviewed-by: Jagan Teki

Re: [PATCH RESEND u-boot-spi 1/8] mtd: spi-nor-core: Try cleaning up in case writing BAR failed

2021-07-20 Thread Simon Glass
On Wed, 14 Jul 2021 at 17:51, Marek Behún wrote: > > Use the cleanup codepath of spi_nor_erase() also in the event of failure > of writing the BAR register. > > Signed-off-by: Marek Behún > Tested-by: Masami Hiramatsu > --- > drivers/mtd/spi/spi-nor-core.c | 2 +- > 1 file changed, 1

[PATCH RESEND u-boot-spi 1/8] mtd: spi-nor-core: Try cleaning up in case writing BAR failed

2021-07-14 Thread Marek Behún
Use the cleanup codepath of spi_nor_erase() also in the event of failure of writing the BAR register. Signed-off-by: Marek Behún Tested-by: Masami Hiramatsu --- drivers/mtd/spi/spi-nor-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi-nor-core.c