summaryrefslogtreecommitdiff
path: root/Documentation/DocBook/v4l
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-04-06 06:41:28 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:57:05 -0300
commit860553023bfed0179b3fe5d01838635f54a314a3 (patch)
tree9b0a12abf9cad777c670e58378064b55c10bc26c /Documentation/DocBook/v4l
parent2b080c5df00e431baec09222aa8d623f0cd77314 (diff)
downloadlinux-3.10-860553023bfed0179b3fe5d01838635f54a314a3.tar.gz
linux-3.10-860553023bfed0179b3fe5d01838635f54a314a3.tar.bz2
linux-3.10-860553023bfed0179b3fe5d01838635f54a314a3.zip
V4L/DVB: V4L2 Spec: fix V4L2_CTRL_TYPE_CTRL_CLASS documentation
The spec says that the control ID for these types of controls is the same as that of the control class. But it should read: 'control class + 1'. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/v4l')
-rw-r--r--Documentation/DocBook/v4l/vidioc-queryctrl.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/v4l/vidioc-queryctrl.xml b/Documentation/DocBook/v4l/vidioc-queryctrl.xml
index 4876ff1a1a0..8e0e055ac93 100644
--- a/Documentation/DocBook/v4l/vidioc-queryctrl.xml
+++ b/Documentation/DocBook/v4l/vidioc-queryctrl.xml
@@ -325,7 +325,7 @@ should be part of the control documentation.</entry>
<entry>n/a</entry>
<entry>This is not a control. When
<constant>VIDIOC_QUERYCTRL</constant> is called with a control ID
-equal to a control class code (see <xref linkend="ctrl-class" />), the
+equal to a control class code (see <xref linkend="ctrl-class" />) + 1, the
ioctl returns the name of the control class and this control type.
Older drivers which do not support this feature return an
&EINVAL;.</entry>