Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96703
b: refs/heads/master
c: 07c87a8
h: refs/heads/master
i:
  96701: 660afb8
  96699: 27499ee
  96695: 346be13
  96687: 2e14ae6
  96671: a057b08
  96639: d8dcfd9
v: v3
  • Loading branch information
Andy Walls authored and Mauro Carvalho Chehab committed May 14, 2008
1 parent fed4c62 commit 106dd3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cba627a51a26eaed3526c423f5fd0410dd721ae2
refs/heads/master: 07c87a833e9ef92280ed24ab85cd4eb49cbca9c0
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/cx18/cx18-fileops.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,8 @@ int cx18_v4l2_open(struct inode *inode, struct file *filp)
for (x = 0; cx == NULL && x < cx18_cards_active; x++) {
/* find out which stream this open was on */
for (y = 0; y < CX18_MAX_STREAMS; y++) {
if (cx18_cards[x] == NULL)
continue;
s = &cx18_cards[x]->streams[y];
if (s->v4l2dev && s->v4l2dev->minor == minor) {
cx = cx18_cards[x];
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/ivtv/ivtv-fileops.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,8 @@ int ivtv_v4l2_open(struct inode *inode, struct file *filp)
/* Find which card this open was on */
spin_lock(&ivtv_cards_lock);
for (x = 0; itv == NULL && x < ivtv_cards_active; x++) {
if (ivtv_cards[x] == NULL)
continue;
/* find out which stream this open was on */
for (y = 0; y < IVTV_MAX_STREAMS; y++) {
s = &ivtv_cards[x]->streams[y];
Expand Down

0 comments on commit 106dd3c

Please sign in to comment.