Messages in this thread | | | Subject | Re: [patch] v4l: bttv update | From | Gerd Knorr <> | Date | 20 Sep 2004 11:11:33 +0200 |
| |
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/
| |