Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153902
b: refs/heads/master
c: b8bfb5f
h: refs/heads/master
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Jun 23, 2009
1 parent 7d1cd6c commit f28badd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 14422f9dd8515bfbe6fdbde37eadf59e2980f104
refs/heads/master: b8bfb5fb348d939a96fc8f71996a2e5e48b4544b
8 changes: 3 additions & 5 deletions trunk/drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -1042,13 +1042,11 @@ static int vidioc_queryctrl(struct file *file, void *priv,
for (i = 0; i < gspca_dev->sd_desc->nctrls; i++) {
if (gspca_dev->ctrl_dis & (1 << i))
continue;
if (ctrls->qctrl.id < id)
if (gspca_dev->sd_desc->ctrls[i].qctrl.id < id)
continue;
if (ctrls != NULL) {
if (gspca_dev->sd_desc->ctrls[i].qctrl.id
if (ctrls && gspca_dev->sd_desc->ctrls[i].qctrl.id
> ctrls->qctrl.id)
continue;
}
continue;
ctrls = &gspca_dev->sd_desc->ctrls[i];
}
} else {
Expand Down

0 comments on commit f28badd

Please sign in to comment.