From: "Brett T. Warden" <brett.warden@gmail.com>
To: linux-kernel@vger.kernel.org, trivial@kernel.org
Cc: Bill Davidsen <davidsen@tmr.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
"Brett T. Warden" <brett.warden@gmail.com>
Subject: [PATCH] bw-qcam: Rename parameter 'aggressive' to 'force_init'
Date: Wed, 2 Jan 2008 15:51:25 -0800 [thread overview]
Message-ID: <1199317885-1625-2-git-send-email-brett.warden@gmail.com> (raw)
In-Reply-To: <1199317885-1625-1-git-send-email-brett.warden@gmail.com>
Changed new parameter name to 'force_init' for clarity, as per feedback.
Signed-off-by: Brett T. Warden <brett.warden@gmail.com>
---
drivers/media/video/bw-qcam.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/video/bw-qcam.c b/drivers/media/video/bw-qcam.c
index b74a9cb..0322653 100644
--- a/drivers/media/video/bw-qcam.c
+++ b/drivers/media/video/bw-qcam.c
@@ -82,15 +82,15 @@ OTHER DEALINGS IN THE SOFTWARE.
static unsigned int maxpoll=250; /* Maximum busy-loop count for qcam I/O */
static unsigned int yieldlines=4; /* Yield after this many during capture */
static int video_nr = -1;
-static unsigned int aggressive; /* Whether to probe aggressively */
+static unsigned int force_init; /* Whether to probe aggressively */
module_param(maxpoll, int, 0);
module_param(yieldlines, int, 0);
module_param(video_nr, int, 0);
-/* Set aggressive=1 to avoid detection by polling status register and
+/* Set force_init=1 to avoid detection by polling status register and
* immediately attempt to initialize qcam */
-module_param(aggressive, int, 0);
+module_param(force_init, int, 0);
static inline int read_lpstatus(struct qcam_device *q)
{
@@ -336,7 +336,7 @@ static int qc_detect(struct qcam_device *q)
int count = 0;
int i;
- if (aggressive)
+ if (force_init)
return 1;
lastreg = reg = read_lpstatus(q) & 0xf0;
--
1.5.3.7
next prev parent reply other threads:[~2008-01-02 23:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-02 23:51 [PATCH] bw-qcam: Adds module parameter 'aggressive' to skip polite auto-detection prior to direct initialization Brett T. Warden
2008-01-02 23:51 ` Brett T. Warden [this message]
2008-01-02 23:51 ` [PATCH] bw-qcam: Rename parameter 'aggressive' to 'force_init' Alan Cox
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=1199317885-1625-2-git-send-email-brett.warden@gmail.com \
--to=brett.warden@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
/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
all inboxes | Powered by JetHome®