Re: Question: 20 microseconds delay

From: Jiri Slaby
Date: Sat Mar 03 2007 - 09:52:50 EST


Do not top-post, please.

Mockern napsal(a):
Mockern napsal(a):
I need to use 20 microsecond delay in my driver.
What exact jiffies value I should define to get 20 microseconds?
It's subjiffy delay unless you use 50000 HZ :). Use udelay.
>
The problem is that I need to use wait_event_timeout function.

Hardly. Place a piece of code here or describe what do you want to achieve.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E

Hnus <hnus@xxxxxxxxxx> is an alias for /dev/null
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/