]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] [NAND] Verify probe by retrying to checking the results match
authorBen Dooks <ben-linux@fluff.org>
Mon, 14 Apr 2008 13:58:58 +0000 (14:58 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 20:43:06 +0000 (21:43 +0100)
commited8165c75e3dd0b2e51b92a858cabe29ba00c9cb
treef024e77b2449f7308b6453f70ee293c7e633697a
parent37e5ffa3f15bd9a8b133ab13e9bef833b5eb33d4
[MTD] [NAND] Verify probe by retrying to checking the results match

With modern systems using bus-hold instead of bus pull-up, it can
often lead to erroneous reporting of NAND devices where there are
none. Do a double probe to ensure that the result we got the first
time is repeatable, and if it is not then return that there is no
chip there.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c