Tudor Ambarus 786a0a75d0 mtd: spi-nor: core: Advance erase after the erase cmd has been completed
addr and len were gratuitously updated even when spi_nor_wait_till_ready()
failed. Wait for the erase cmd to complete and then advance the erase.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20210306095002.22983-2-tudor.ambarus@microchip.com
2021-03-15 17:58:39 +02:00
..
2021-02-01 18:58:38 +01:00
2021-02-21 13:54:33 -08:00
2021-02-10 10:21:13 +01:00
2021-02-12 21:53:22 +01:00
2018-06-12 16:19:22 -07:00
2020-10-28 11:58:11 +01:00
2020-12-01 14:53:39 -07:00