cfi_cmdset_0002.c: Timeout for writing

Holger Speck hospe at gmx.de
Mon Oct 28 07:37:43 EST 2002


Hello,

Is this correct?

Line 511 in cfi_cmdset_0002.c, function do_write_oneword:
<  timeo = jiffies + (HZ/1000); /* setting timeout to 1ms for now */

Timeo is set to jiffies because HZ/1000 = 0. This don't work in our
integration.
We use MTD in a non-linux environment. jiffies are emulated (10 ms)
Nevertheless I think, it's not correct?

Greetings,
Holger













More information about the linux-mtd mailing list