Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138210
b: refs/heads/master
c: d9109be
h: refs/heads/master
v: v3
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 82d523e commit 6604471
Show file tree
Hide file tree
Showing 4 changed files with 13 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: b80f770a981db1d1f5a41626792c701f8c5bf973
refs/heads/master: d9109bef4b4f501eee94ae68bf876f765d5c6941
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/frontends/au8522_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ static int au8522_queryctrl(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc)
break;
}

qc->type = 0;
return -EINVAL;
}

Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/media/video/au0828/au0828-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,15 @@ static int vidioc_g_chip_ident(struct file *file, void *priv,
chip->ident = V4L2_IDENT_NONE;
chip->revision = 0;

if (v4l2_chip_match_host(&chip->match)) {
chip->ident = V4L2_IDENT_AU0828;
return 0;
}

au0828_call_i2c_clients(dev, VIDIOC_DBG_G_CHIP_IDENT, chip);
if (chip->ident == V4L2_IDENT_NONE)
return -EINVAL;

return 0;
}

Expand Down
3 changes: 3 additions & 0 deletions trunk/include/media/v4l2-chip-ident.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ enum {
V4L2_IDENT_CX23416 = 416,
V4L2_IDENT_CX23418 = 418,

/* module au0828 */
V4L2_IDENT_AU0828 = 828,

/* module indycam: just ident 2000 */
V4L2_IDENT_INDYCAM = 2000,

Expand Down

0 comments on commit 6604471

Please sign in to comment.