]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: return badblockbits back
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 28 Apr 2011 17:26:59 +0000 (20:26 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:01:22 +0000 (02:01 +0100)
commit26d9be11485ea8c1102c3e8eaa7667412eef4950
tree0eb23f16e190a12458cd426c1bc82eb19b5f9f24
parent410fe2f02630fa76b5311c06b7411731202d3b68
mtd: return badblockbits back

In commit c7b28e25cb9beb943aead770ff14551b55fa8c79 the initialization of
the backblockbits was accidentally removed. This patch returns it back,
because otherwise some NAND drivers are broken.

This problem was reported by "Saxena, Parth <parth.saxena@ti.com>" here:
http://lists.infradead.org/pipermail/linux-mtd/2011-April/035221.html

Reported-by: Saxena, Parth <parth.saxena@ti.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tested-by: Saxena, Parth <parth.saxena@ti.com>
Acked-by: Saxena, Parth <parth.saxena@ti.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Cc: stable@kernel.org [2.6.36+]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c