summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/msp3400.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-11-03 09:04:50 +0000
committerGerd Knorr <devnull@localhost>2004-11-03 09:04:50 +0000
commit5c11d159f1e04623e962b2338c05e7e7986da8a7 (patch)
tree6a49c1862fc0aea2716e8b5d8e62c4bee04079c5 /linux/drivers/media/video/msp3400.c
parentb8c933a4132a513316cf1a0dcaa898af0aa27640 (diff)
downloadmediapointer-dvb-s2-5c11d159f1e04623e962b2338c05e7e7986da8a7.tar.gz
mediapointer-dvb-s2-5c11d159f1e04623e962b2338c05e7e7986da8a7.tar.bz2
- cx88: fix/add dvb cards by Christopher Pascoe
- saa7134: new card - misc minor fixes.
Diffstat (limited to 'linux/drivers/media/video/msp3400.c')
-rw-r--r--linux/drivers/media/video/msp3400.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/msp3400.c b/linux/drivers/media/video/msp3400.c
index 819906100..aeb101cf5 100644
--- a/linux/drivers/media/video/msp3400.c
+++ b/linux/drivers/media/video/msp3400.c
@@ -1427,6 +1427,8 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg);
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",
@@ -1551,7 +1553,7 @@ static int msp_attach(struct i2c_adapter *adap, int addr, int kind)
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 */