linux/drivers/mtd/spi-nor
Heiner Kallweit d6af26944a mtd: spi-nor: fix error handling in spi_nor_erase
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@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-12-04 15:38:47 -08:00
..
fsl-quadspi.c mtd: fsl-quadspi: possible NULL dereference 2015-11-18 10:31:23 -08:00
Kconfig mtd: mtk-nor: new Mediatek serial flash controller driver 2015-11-20 17:35:16 -08:00
Makefile mtd: mtk-nor: new Mediatek serial flash controller driver 2015-11-20 17:35:16 -08:00
mtk-quadspi.c mtd: mtk-quadspi: drop unnecessary .owner assignment 2015-12-04 15:31:53 -08:00
nxp-spifi.c mtd: spi-nor: drop unnecessary partition parser data 2015-11-11 13:58:51 -08:00
spi-nor.c mtd: spi-nor: fix error handling in spi_nor_erase 2015-12-04 15:38:47 -08:00