From: Tilman Sauerbeck Date: Fri, 20 Aug 2010 21:01:47 +0000 (-0700) Subject: mtd: nand: Fix probe of Samsung NAND chips X-Git-Tag: v2.6.36-rc2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfe3fdadb16162327773ef01a575a32000b8c7f4;p=pandora-kernel.git mtd: nand: Fix probe of Samsung NAND chips Apparently, the check for a 6-byte ID string introduced by commit 426c457a3216fac74e3d44dd39729b0689f4c7ab ("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 Signed-off-by: Brian Norris Signed-off-by: David Woodhouse Cc: stable@kernel.org --- Reading git-diff-tree failed