summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/v4l2-common.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-08-21 23:32:42 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-08-21 23:32:42 +0200
commitec6d9f86297f4a7d1e372dfb254565e335ab2873 (patch)
treecc90ff8418b4ff0a77d4afd572987f84b0244042 /linux/drivers/media/video/v4l2-common.c
parent5abb311d5219789c3c53358c4787a989686e763e (diff)
downloadmediapointer-dvb-s2-ec6d9f86297f4a7d1e372dfb254565e335ab2873.tar.gz
mediapointer-dvb-s2-ec6d9f86297f4a7d1e372dfb254565e335ab2873.tar.bz2
cx2341x: some controls should not be changed while the device is busy.
From: Hans Verkuil <hverkuil@xs4all.nl> The driver should now pass the 'busy' state of the device to the cx2341x module whenever controls are set or tried. -EBUSY will be returned if the device is busy and the user attempts to modify certain 'dangerous' controls. It concerns controls that change the audio or video compression mode and bitrates. The cx88-blackbird and pvrusb2 drivers currently always pass '0' (not busy) to the cx2341x, effectively keeping the old behavior for now. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/v4l2-common.c')
-rw-r--r--linux/drivers/media/video/v4l2-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/v4l2-common.c b/linux/drivers/media/video/v4l2-common.c
index 78b251022..e8b7fead3 100644
--- a/linux/drivers/media/video/v4l2-common.c
+++ b/linux/drivers/media/video/v4l2-common.c
@@ -1343,6 +1343,7 @@ int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 ste
case V4L2_CID_AUDIO_MUTE:
case V4L2_CID_AUDIO_LOUDNESS:
case V4L2_CID_MPEG_AUDIO_MUTE:
+ case V4L2_CID_MPEG_VIDEO_MUTE:
case V4L2_CID_MPEG_VIDEO_GOP_CLOSURE:
case V4L2_CID_MPEG_VIDEO_PULLDOWN:
qctrl->type = V4L2_CTRL_TYPE_BOOLEAN;