From: Artem B. Bityuckiy Date: Fri, 11 Feb 2005 10:14:15 +0000 (+0000) Subject: [MTD] NAND: Read only OOB bytes during bad block scan X-Git-Tag: v2.6.13-rc3~93^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeada24da8bd23fcf6acd2729be054ea99b301bb;p=pandora-kernel.git [MTD] NAND: Read only OOB bytes during bad block scan When scanning NAND for bad blocks, don't read the whole page, read only needed OOB bytes instead. Also check the return code of the nand_read_raw() function. Correctly free the this->bbt array in case of failure. Tested with Large page NAND. Fix debugging message. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed