[PATCH 3/3] mtd: spi-nor: fix error handling in spi_nor_erase

Brian Norris computersforpeace at gmail.com
Fri Dec 4 15:40:22 PST 2015


On Tue, Nov 17, 2015 at 08:18:54PM +0100, Heiner Kallweit wrote:
> The documenting comment of mtd_erase in mtdcore.c states:
> Device drivers are supposed to call instr->callback() whenever
> the operation completes, even if it completes with a failure.
> 
> Currently the callback isn't called in case of failure. Fix this.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>

Applied patch 3 to l2-mtd.git. Thanks!



More information about the linux-mtd mailing list