nand: reinstate lazy bad block scanning
authorRostislav Lisovy <lisovy@gmail.com>
Wed, 22 Oct 2014 11:40:44 +0000 (13:40 +0200)
committerScott Wood <scottwood@freescale.com>
Thu, 27 Nov 2014 01:51:51 +0000 (19:51 -0600)
commit35c204d8a9d036fdc2b139dd88212ca3e70ed6e1
treedf6466f12b167b21ecdeeb7467915a1f188c113b
parent85bafb6da4dddfffa78479aa49a72ae48578a4ce
nand: reinstate lazy bad block scanning

Commit ff94bc40af3481d47546595ba73c136de6af6929
("mtd, ubi, ubifs: resync with Linux-3.14")
accidentally reverted part of the commit
13f0fd94e3cae6f8a0d9fba5d367e311edc8ebde
("NAND: Scan bad blocks lazily.").

Reinstate the change as by commit
fb49454b1b6c7c6e238ac3c0b1e302e73eb1a1ea
("nand: reinstate lazy bad block scanning")

Signed-off-by: Rostislav Lisovy <lisovy@merica.cz>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/mtd/nand/nand_base.c