]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: Fix probe of Samsung NAND chips
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 20 Aug 2010 21:01:47 +0000 (14:01 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 20 Aug 2010 21:26:20 +0000 (22:26 +0100)
commitdd175f6166baecf0376393d46e2d17c9d253c42e
treee93dd6e4a80c1cdb23f9a2b562d4cb2bfb955f37
parent37738149f6dce407fa5a3c46bd5d77b1540b3555
mtd: nand: Fix probe of Samsung NAND chips

Apparently, the check for a 6-byte ID string introduced by commit
af6258ebb9f19e633ea23cce6694ab466912dea4 ("mtd: nand: extend NAND flash
detection to new MLC chips") is NOT sufficient to determine whether or
not a Samsung chip uses their new MLC detection scheme or the old,
standard scheme. This adds a condition to check cell type.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Signed-off-by: Brian Norris <norris@broadcom.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@kernel.org
drivers/mtd/nand/nand_base.c