Skip to contentSkip to conversation

do_xxlock_oneblock delay

DISCUSSION Davide CASCONE 1 participant 1 message Jun 12, 2006 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I'm using Linux 2.6.16 with mtd-snapshot-20060504.
If mtd unlock function (do_xxlock_oneblock) is called with udelay=0 and CONFIG_MTD_XIP is defined, the xip_wait_for_operation() waits for 500000us. Why does it wait for 500ms if the unlock operation doesn't need any delay?

Thanks in advance.
Best Regards,
Davide