summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/v4l2-subdev.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-12 22:17:14 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-01-12 22:17:14 +0100
commit558adc2e28817864b92af93cf1b662a86a347e39 (patch)
tree56f22383effb7ff5ee78f29abdea2dc85a74b364 /linux/drivers/media/video/v4l2-subdev.c
parent15c9a8aeaf14b23c6bdfaafad2251443fa9ac0a0 (diff)
downloadmediapointer-dvb-s2-558adc2e28817864b92af93cf1b662a86a347e39.tar.gz
mediapointer-dvb-s2-558adc2e28817864b92af93cf1b662a86a347e39.tar.bz2
v4l2-subdev: add v4l2_ext_controls support
From: Hans Verkuil <hverkuil@xs4all.nl> The saa6752hs module needs this. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/v4l2-subdev.c')
-rw-r--r--linux/drivers/media/video/v4l2-subdev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/media/video/v4l2-subdev.c b/linux/drivers/media/video/v4l2-subdev.c
index fbe9cc0d4..55a2e329a 100644
--- a/linux/drivers/media/video/v4l2-subdev.c
+++ b/linux/drivers/media/video/v4l2-subdev.c
@@ -33,6 +33,12 @@ int v4l2_subdev_command(struct v4l2_subdev *sd, unsigned cmd, void *arg)
return v4l2_subdev_call(sd, core, g_ctrl, arg);
case VIDIOC_S_CTRL:
return v4l2_subdev_call(sd, core, s_ctrl, arg);
+ case VIDIOC_G_EXT_CTRLS:
+ return v4l2_subdev_call(sd, core, g_ext_ctrls, arg);
+ case VIDIOC_S_EXT_CTRLS:
+ return v4l2_subdev_call(sd, core, s_ext_ctrls, arg);
+ case VIDIOC_TRY_EXT_CTRLS:
+ return v4l2_subdev_call(sd, core, try_ext_ctrls, arg);
case VIDIOC_QUERYMENU:
return v4l2_subdev_call(sd, core, queryctrl, arg);
case VIDIOC_LOG_STATUS: