diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-04-27 11:31:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:43:50 -0400 |
commit | 74cab31c413c8615efe818d44ff4ac83e2a138be (patch) | |
tree | 036e32f1b1a928901f6f2ab4b9921c39aa8de82c /drivers/media/video/tvaudio.c | |
parent | 1a0adaf37c30e89e44d1470ef604a930999a5826 (diff) |
V4L/DVB (5355): Add VIDIOC_G_CHIP_IDENT to various i2c modules
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
-rw-r--r-- | drivers/media/video/tvaudio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index d506dfaa45a9..426083c08986 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -33,6 +33,7 @@ | |||
33 | 33 | ||
34 | #include <media/tvaudio.h> | 34 | #include <media/tvaudio.h> |
35 | #include <media/v4l2-common.h> | 35 | #include <media/v4l2-common.h> |
36 | #include <media/v4l2-chip-ident.h> | ||
36 | 37 | ||
37 | #include <media/i2c-addr.h> | 38 | #include <media/i2c-addr.h> |
38 | 39 | ||
@@ -1775,6 +1776,9 @@ static int chip_command(struct i2c_client *client, | |||
1775 | /* the thread will call checkmode() later */ | 1776 | /* the thread will call checkmode() later */ |
1776 | } | 1777 | } |
1777 | break; | 1778 | break; |
1779 | |||
1780 | case VIDIOC_G_CHIP_IDENT: | ||
1781 | return v4l2_chip_ident_i2c_client(client, arg, V4L2_IDENT_TVAUDIO, 0); | ||
1778 | } | 1782 | } |
1779 | return 0; | 1783 | return 0; |
1780 | } | 1784 | } |