Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268432
b: refs/heads/master
c: 84cd410
h: refs/heads/master
v: v3
  • Loading branch information
Leonid V. Fedorenchik authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent 4fb572a commit 9196d4d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 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: 48eb80ba3d0912f48f07ad95ef18ce50db7d7da8
refs/heads/master: 84cd410e11fb641a19b29c855b7a4b5b5ec9bd7b
27 changes: 13 additions & 14 deletions trunk/drivers/staging/cx25821/cx25821-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,20 +493,19 @@ int cx25821_video_register(struct cx25821_dev *dev)
dev->channels[i].video_dev = NULL;
dev->channels[i].resources = 0;

cx_write(dev->channels[i].sram_channels->int_stat,
0xffffffff);

INIT_LIST_HEAD(&dev->channels[i].vidq.active);
INIT_LIST_HEAD(&dev->channels[i].vidq.queued);

dev->channels[i].timeout_data.dev = dev;
dev->channels[i].timeout_data.channel =
&cx25821_sram_channels[i];
dev->channels[i].vidq.timeout.function =
cx25821_vid_timeout;
dev->channels[i].vidq.timeout.data =
(unsigned long)&dev->channels[i].timeout_data;
init_timer(&dev->channels[i].vidq.timeout);
cx_write(dev->channels[i].sram_channels->int_stat, 0xffffffff);

INIT_LIST_HEAD(&dev->channels[i].vidq.active);
INIT_LIST_HEAD(&dev->channels[i].vidq.queued);

dev->channels[i].timeout_data.dev = dev;
dev->channels[i].timeout_data.channel =
&cx25821_sram_channels[i];
dev->channels[i].vidq.timeout.function =
cx25821_vid_timeout;
dev->channels[i].vidq.timeout.data =
(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,
Expand Down

0 comments on commit 9196d4d

Please sign in to comment.