]> git.baikalelectronics.ru Git - kernel.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)
commit5c7e580e175084b914189770b1adff098a50f344
tree0eb23f16e190a12458cd426c1bc82eb19b5f9f24
parent2ec7bfb562c706f4615e7245ce06ce0a753357ec
mtd: return badblockbits back

In commit 02b42482aaa34adfc4f5aae7e2f95d40b58cc1ec 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