NAND: Verify probe by retrying to checking the results match

Artem Bityutskiy dedekind at infradead.org
Mon Apr 14 09:33:47 EDT 2008


On Mon, 2008-04-14 at 14:16 +0100, Ben Dooks wrote:
> 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 at fluff.org>

Could you please put the same comment to the code, to make it easier for
the curious code reader understand why is the second read?

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list