* [Kernel-janitors] saa7146_i2c.c::my_wait() (msleep)
@ 2004-07-08 23:08 Nishanth Aravamudan
0 siblings, 0 replies; only message in thread
From: Nishanth Aravamudan @ 2004-07-08 23:08 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 757 bytes --]
Here is the first (well, really the second after DVB) of a sequence of
issues with my msleep() conversion process:
While trying to converte /drivers/media/common/saa7146_i2c.c::my_wait()
to msleep(), I'm kind of stumped by the conversion being done on the
input parameter (called ms, but I'm not sure if that means it is
actually in milliseconds):
((((ms + 10) / 10) * HZ) / 1000)
This seems to lead to some weird conversions...
Is that right? What is really desired there? Basically I want to know
what I should send in to msleep, i.e. the corresponding value in
milliseconds. Looking through the code, my_wait() is only called with
SAA_1746_DELAY (5), 1 and 10. Are those the corresponding values in ms?
Any help would be appreciated.
-Nish
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-08 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08 23:08 [Kernel-janitors] saa7146_i2c.c::my_wait() (msleep) Nishanth Aravamudan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.