do_xxlock_oneblock delay

Davide CASCONE davide.cascone at st.com
Mon Jun 12 03:51:33 EDT 2006


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






More information about the linux-mtd mailing list