From: Gerd Knorr <kraxel@bytesex.org>
To: Andrew Morton <akpm@osdl.org>,
Kernel List <linux-kernel@vger.kernel.org>
Subject: [patch] v4l: msp3400 fix
Date: Mon, 8 Nov 2004 09:54:20 +0100 [thread overview]
Message-ID: <20041108085420.GA19347@bytesex> (raw)
Fix for the msp3400 module: make the initial carrier scan
(after loading the driver) work.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
---
drivers/media/video/msp3400.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -u linux-2.6.10/drivers/media/video/msp3400.c linux/drivers/media/video/msp3400.c
--- linux-2.6.10/drivers/media/video/msp3400.c 2004-11-07 12:23:12.256678404 +0100
+++ linux/drivers/media/video/msp3400.c 2004-11-07 16:08:43.247733306 +0100
@@ -1426,6 +1426,8 @@
static int msp_suspend(struct device * dev, u32 state, u32 level);
static int msp_resume(struct device * dev, u32 level);
+static void msp_wake_thread(struct i2c_client *client);
+
static struct i2c_driver driver = {
.owner = THIS_MODULE,
.name = "i2c msp3400 driver",
@@ -1550,7 +1552,7 @@
msp->kthread = kthread_run(thread_func, c, "msp34xx");
if (NULL == msp->kthread)
printk(KERN_WARNING "msp34xx: kernel_thread() failed\n");
- wake_up_interruptible(&msp->wq);
+ msp_wake_thread(c);
}
/* done */
--
#define printk(args...) fprintf(stderr, ## args)
reply other threads:[~2004-11-08 9:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041108085420.GA19347@bytesex \
--to=kraxel@bytesex.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.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