]> git.baikalelectronics.ru Git - kernel.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)
commit8d0a9b7f2c1784d6b9665bc1da4a3652883212c3
treef024e77b2449f7308b6453f70ee293c7e633697a
parent2da771e73bd760114e623529aa219354210a4c69
[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