[PATCH] nand_wait_ready() timeout scaling

Andrew E. Mileski andrewm at isoar.ca
Wed Apr 30 16:55:18 EDT 2008


Trent Piepho wrote:
> Andrew E. Mileski wrote:
>> Just realized that 100 Hz systems would have a problem with this patch
>> since (100 * 8) / 1000 = 0.  Guess the simple solution is to make the
>> timeout 10 ms.
> 
> msecs_to_jiffies() is what you want to use.

Thanks.  Guess all similar calculations in nand_base.c file should be 
changed to that too.

-- 
Andrew E. Mileski



More information about the linux-mtd mailing list