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

Jagan Teki jagan at amarulasolutions.com
Wed Jul 21 17:49:08 CEST 2021


On Thu, Jul 15, 2021 at 5:21 AM Marek Behún <marek.behun at 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.behun at nic.cz>
> Tested-by: Masami Hiramatsu <masami.hiramatsu at linaro.org>
> ---

Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>


More information about the U-Boot mailing list