diff options
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 0902ec041c7a..54fbab95b88c 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -4041,9 +4041,6 @@ static irqreturn_t bttv_irq(int irq, void *dev_id) | |||
4041 | 4041 | ||
4042 | btv=(struct bttv *)dev_id; | 4042 | btv=(struct bttv *)dev_id; |
4043 | 4043 | ||
4044 | if (btv->custom_irq) | ||
4045 | handled = btv->custom_irq(btv); | ||
4046 | |||
4047 | count=0; | 4044 | count=0; |
4048 | while (1) { | 4045 | while (1) { |
4049 | /* get/clear interrupt status bits */ | 4046 | /* get/clear interrupt status bits */ |
@@ -4079,7 +4076,6 @@ static irqreturn_t bttv_irq(int irq, void *dev_id) | |||
4079 | btv->field_count++; | 4076 | btv->field_count++; |
4080 | 4077 | ||
4081 | if ((astat & BT848_INT_GPINT) && btv->remote) { | 4078 | if ((astat & BT848_INT_GPINT) && btv->remote) { |
4082 | wake_up(&btv->gpioq); | ||
4083 | bttv_input_irq(btv); | 4079 | bttv_input_irq(btv); |
4084 | } | 4080 | } |
4085 | 4081 | ||
@@ -4284,7 +4280,6 @@ static int __devinit bttv_probe(struct pci_dev *dev, | |||
4284 | mutex_init(&btv->lock); | 4280 | mutex_init(&btv->lock); |
4285 | spin_lock_init(&btv->s_lock); | 4281 | spin_lock_init(&btv->s_lock); |
4286 | spin_lock_init(&btv->gpio_lock); | 4282 | spin_lock_init(&btv->gpio_lock); |
4287 | init_waitqueue_head(&btv->gpioq); | ||
4288 | init_waitqueue_head(&btv->i2c_queue); | 4283 | init_waitqueue_head(&btv->i2c_queue); |
4289 | INIT_LIST_HEAD(&btv->c.subs); | 4284 | INIT_LIST_HEAD(&btv->c.subs); |
4290 | INIT_LIST_HEAD(&btv->capture); | 4285 | INIT_LIST_HEAD(&btv->capture); |
@@ -4472,7 +4467,6 @@ static void __devexit bttv_remove(struct pci_dev *pci_dev) | |||
4472 | 4467 | ||
4473 | /* tell gpio modules we are leaving ... */ | 4468 | /* tell gpio modules we are leaving ... */ |
4474 | btv->shutdown=1; | 4469 | btv->shutdown=1; |
4475 | wake_up(&btv->gpioq); | ||
4476 | bttv_input_fini(btv); | 4470 | bttv_input_fini(btv); |
4477 | bttv_sub_del_devices(&btv->c); | 4471 | bttv_sub_del_devices(&btv->c); |
4478 | 4472 | ||