summaryrefslogtreecommitdiff
path: root/linux/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-08-26 08:17:58 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-08-26 08:17:58 +0200
commit9f92cbb8f321d094a6276bd64f3a53913aa62937 (patch)
tree5eb001cc4493f97fab742b84de34b2091b3d0b54 /linux/include/media/v4l2-common.h
parent5c79cc3a436672df39875565419126381b3f778f (diff)
downloadmediapointer-dvb-s2-9f92cbb8f321d094a6276bd64f3a53913aa62937.tar.gz
mediapointer-dvb-s2-9f92cbb8f321d094a6276bd64f3a53913aa62937.tar.bz2
Add u32 argument to VIDIOC_INT_RESET.
From: Hans Verkuil <hverkuil@xs4all.nl> The extra argument makes it possible to reset subsystems of a chip if that is supported. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media/v4l2-common.h')
-rw-r--r--linux/include/media/v4l2-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h
index 98976fd3b..ca40bca45 100644
--- a/linux/include/media/v4l2-common.h
+++ b/linux/include/media/v4l2-common.h
@@ -175,8 +175,9 @@ enum v4l2_chip_ident {
#define VIDIOC_INT_S_REGISTER _IOR ('d', 100, struct v4l2_register)
#define VIDIOC_INT_G_REGISTER _IOWR('d', 101, struct v4l2_register)
-/* Reset the I2C chip */
-#define VIDIOC_INT_RESET _IO ('d', 102)
+/* Generic reset command. The argument selects which subsystems to reset.
+ Passing 0 will always reset the whole chip. */
+#define VIDIOC_INT_RESET _IOW ('d', 102, u32)
/* Set the frequency (in Hz) of the audio clock output.
Used to slave an audio processor to the video decoder, ensuring that audio