diff options
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-core.c | 1 | ||||
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-video.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-core.c b/drivers/media/pci/cx23885/cx23885-core.c index 1ad49946d7fa..7aee76af7a85 100644 --- a/drivers/media/pci/cx23885/cx23885-core.c +++ b/drivers/media/pci/cx23885/cx23885-core.c | |||
@@ -825,6 +825,7 @@ static int cx23885_dev_setup(struct cx23885_dev *dev) | |||
825 | int i; | 825 | int i; |
826 | 826 | ||
827 | spin_lock_init(&dev->pci_irqmask_lock); | 827 | spin_lock_init(&dev->pci_irqmask_lock); |
828 | spin_lock_init(&dev->slock); | ||
828 | 829 | ||
829 | mutex_init(&dev->lock); | 830 | mutex_init(&dev->lock); |
830 | mutex_init(&dev->gpio_lock); | 831 | mutex_init(&dev->gpio_lock); |
diff --git a/drivers/media/pci/cx23885/cx23885-video.c b/drivers/media/pci/cx23885/cx23885-video.c index 5e93c682a3f5..2232b389c441 100644 --- a/drivers/media/pci/cx23885/cx23885-video.c +++ b/drivers/media/pci/cx23885/cx23885-video.c | |||
@@ -1137,7 +1137,6 @@ int cx23885_video_register(struct cx23885_dev *dev) | |||
1137 | int err; | 1137 | int err; |
1138 | 1138 | ||
1139 | dprintk(1, "%s()\n", __func__); | 1139 | dprintk(1, "%s()\n", __func__); |
1140 | spin_lock_init(&dev->slock); | ||
1141 | 1140 | ||
1142 | /* Initialize VBI template */ | 1141 | /* Initialize VBI template */ |
1143 | cx23885_vbi_template = cx23885_video_template; | 1142 | cx23885_vbi_template = cx23885_video_template; |