summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/upd64083.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/upd64083.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/upd64083.c')
-rw-r--r--linux/drivers/media/video/upd64083.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/upd64083.c b/linux/drivers/media/video/upd64083.c
index 317baed46..ccf340a5b 100644
--- a/linux/drivers/media/video/upd64083.c
+++ b/linux/drivers/media/video/upd64083.c
@@ -26,6 +26,7 @@
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
+#include <media/v4l2-chip-ident.h>
#include <media/upd64083.h>
#include "compat.h"
@@ -163,6 +164,10 @@ static int upd64083_command(struct i2c_client *client, unsigned int cmd, void *a
break;
}
#endif
+
+ case VIDIOC_G_CHIP_IDENT:
+ return v4l2_chip_ident_i2c_client(client, arg, V4L2_IDENT_UPD64083, 0);
+
default:
break;
}