summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-02-13 11:48:21 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-02-13 11:48:21 +0100
commit6a1975515ebe6c5782f5f5ccf0bfdbbe6a27bd8c (patch)
tree7878b093a5e64027ea5f3f7987873101c3255a8a /linux/drivers/media
parent404ee5d5dea9be4f51d5a436a2a33a00e47be1ed (diff)
downloadmediapointer-dvb-s2-6a1975515ebe6c5782f5f5ccf0bfdbbe6a27bd8c.tar.gz
mediapointer-dvb-s2-6a1975515ebe6c5782f5f5ccf0bfdbbe6a27bd8c.tar.bz2
v4l2-subdev: add querystd and g_input_status
From: Hans Verkuil <hverkuil@xs4all.nl> In order to convert the v4l1 zoran and vino i2c drivers to v4l2 these extra ops are required. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/v4l2-subdev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/v4l2-subdev.c b/linux/drivers/media/video/v4l2-subdev.c
index 158bc55de..923ec8d01 100644
--- a/linux/drivers/media/video/v4l2-subdev.c
+++ b/linux/drivers/media/video/v4l2-subdev.c
@@ -104,6 +104,10 @@ int v4l2_subdev_command(struct v4l2_subdev *sd, unsigned cmd, void *arg)
return v4l2_subdev_call(sd, video, g_fmt, arg);
case VIDIOC_INT_S_STD_OUTPUT:
return v4l2_subdev_call(sd, video, s_std_output, *(v4l2_std_id *)arg);
+ case VIDIOC_QUERYSTD:
+ return v4l2_subdev_call(sd, video, querystd, arg);
+ case VIDIOC_INT_G_INPUT_STATUS:
+ return v4l2_subdev_call(sd, video, g_input_status, arg);
case VIDIOC_STREAMON:
return v4l2_subdev_call(sd, video, s_stream, 1);
case VIDIOC_STREAMOFF: