summaryrefslogtreecommitdiff
path: root/drivers/mtd/chips/jedec_probe.c
diff options
context:
space:
mode:
authorArtem B. Bityuckiy <dedekind@infradead.org>2005-02-11 13:14:15 +0300
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 14:32:18 +0400
commiteeada24da8bd23fcf6acd2729be054ea99b301bb (patch)
treec5d3cdffbfc11ec2ee82d64aef4177e92dfdffc7 /drivers/mtd/chips/jedec_probe.c
parent41ce921440bd14d9b69b19fbf47d9278582739fe (diff)
downloadlinux-eeada24da8bd23fcf6acd2729be054ea99b301bb.tar.xz
[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 <dedekind@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/chips/jedec_probe.c')
0 files changed, 0 insertions, 0 deletions