mtd: nand-bb: fix erasing bb devices with bad blocks
mtd_erase does not skip bad blocks, we must skip them in nand_bb_erase
instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3b71b23 commit eebfbe9116a46d504f0912a25cf5ff7eaff96884
@Sascha Hauer Sascha Hauer authored on 5 Feb 2015
Showing 1 changed file
View
drivers/mtd/nand/nand-bb.c