On Wed, 14 Jul 2021 at 17:51, Marek Behún <marek.be...@nic.cz> 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 <marek.be...@nic.cz> > Tested-by: Masami Hiramatsu <masami.hirama...@linaro.org> > --- > drivers/mtd/spi/spi-nor-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org>