summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-02-28 00:25:51 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2007-02-28 00:25:51 +0100
commitdef3a3061098518446069b287d7eba281cfe0afe (patch)
treebb88900b964b51f045e5cd9a237c4df8aaf76c9d /linux/drivers/media/video/tvaudio.c
parent48b48aad8f2170c48618958d828ea1df98a87bcd (diff)
downloadmediapointer-dvb-s2-def3a3061098518446069b287d7eba281cfe0afe.tar.gz
mediapointer-dvb-s2-def3a3061098518446069b287d7eba281cfe0afe.tar.bz2
Add VIDIOC_G_CHIP_IDENT to various i2c modules
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/tvaudio.c')
-rw-r--r--linux/drivers/media/video/tvaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c
index e08484fd2..cc885951e 100644
--- a/linux/drivers/media/video/tvaudio.c
+++ b/linux/drivers/media/video/tvaudio.c
@@ -40,6 +40,7 @@
#endif
#include <media/tvaudio.h>
#include <media/v4l2-common.h>
+#include <media/v4l2-chip-ident.h>
#include <media/i2c-addr.h>
@@ -1814,6 +1815,9 @@ static int chip_command(struct i2c_client *client,
/* the thread will call checkmode() later */
}
break;
+
+ case VIDIOC_G_CHIP_IDENT:
+ return v4l2_chip_ident_i2c_client(client, arg, V4L2_IDENT_TVAUDIO, 0);
}
return 0;
}