Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268433
b: refs/heads/master
c: 2ba5149
h: refs/heads/master
i:
  268431: 4fb572a
v: v3
  • Loading branch information
Leonid V. Fedorenchik authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent 9196d4d commit af80772
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84cd410e11fb641a19b29c855b7a4b5b5ec9bd7b
refs/heads/master: 2ba5149861341dd35e823346de8d70b87b74a00c
20 changes: 10 additions & 10 deletions trunk/drivers/staging/cx25821/cx25821-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,31 +507,31 @@ int cx25821_video_register(struct cx25821_dev *dev)
(unsigned long)&dev->channels[i].timeout_data;
init_timer(&dev->channels[i].vidq.timeout);

/* register v4l devices */
dev->channels[i].video_dev = cx25821_vdev_init(dev,
dev->pci, &cx25821_video_device, "video");
/* register v4l devices */
dev->channels[i].video_dev = cx25821_vdev_init(dev,
dev->pci, &cx25821_video_device, "video");

err = video_register_device(dev->channels[i].video_dev,
VFL_TYPE_GRABBER, video_nr[dev->nr]);
err = video_register_device(dev->channels[i].video_dev,
VFL_TYPE_GRABBER, video_nr[dev->nr]);

if (err < 0)
goto fail_unreg;
if (err < 0)
goto fail_unreg;

}

/* set PCI interrupt */
/* set PCI interrupt */
cx_set(PCI_INT_MSK, 0xff);

/* initial device configuration */
mutex_lock(&dev->lock);
#ifdef TUNER_FLAG
dev->tvnorm = cx25821_video_device.current_norm;
dev->tvnorm = cx25821_video_device.current_norm;
cx25821_set_tvnorm(dev, dev->tvnorm);
#endif
mutex_unlock(&dev->lock);


return 0;
return 0;

fail_unreg:
cx25821_video_unregister(dev, i);
Expand Down

0 comments on commit af80772

Please sign in to comment.