From: Gerd Knorr <kraxel@bytesex.org>
To: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Andrew Morton <akpm@osdl.org>,
Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: [patch] v4l: bttv update
Date: 20 Sep 2004 11:11:33 +0200 [thread overview]
Message-ID: <87hdpt1f0a.fsf@bytesex.org> (raw)
In-Reply-To: <20040917225105.GA11971@us.ibm.com>
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;
next prev parent reply other threads:[~2004-09-20 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-16 9:15 Gerd Knorr
2004-09-17 22:51 ` Nishanth Aravamudan
2004-09-20 9:11 ` Gerd Knorr [this message]
2005-01-20 15:28 Gerd Knorr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hdpt1f0a.fsf@bytesex.org \
--to=kraxel@bytesex.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nacc@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome