Re: [PATCH] mtd: Update fail_addr when erase fails due to bad blocks

2021-04-13 Thread Tom Rini
On Wed, Feb 24, 2021 at 03:25:53PM -0800, Farhan Ali wrote: > For all other erase failures, the fail_addr is updated with the > failing address. Only in the case of erase failure due to bad block > detection, the fail_addr is not updated. This change simply updates > the fail_addr for this specifi

[PATCH] mtd: Update fail_addr when erase fails due to bad blocks

2021-02-24 Thread Farhan Ali
For all other erase failures, the fail_addr is updated with the failing address. Only in the case of erase failure due to bad block detection, the fail_addr is not updated. This change simply updates the fail_addr for this specific scenario so that it is consistent with the rest of the code. Signe