Skip to contentSkip to conversation

cfi_cmdset_0002.c: Timeout for writing

DISCUSSION Holger Speck 1 participant 1 message Oct 30, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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