lkml.org 
[lkml]   [2004]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] v4l: bttv update
From
Date
Nishanth Aravamudan <nacc@us.ibm.com> writes:

> > - set_current_state(TASK_INTERRUPTIBLE);
> > - schedule_timeout(HZ/50);
> > + msleep(10);
>
> My original patch used
>
> msleep(20);
>
> Is there a reason the conversion was changed?

Doesn't really matter. The code just polls in a loop until the status
register says the pll is locked. Usually it needs one round only, so
the delay can be smaller to make the function return earlier ;)

Gerd

--
return -ENOSIG;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.084 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site