V4L/DVB: V4L2 Spec: fix V4L2_CTRL_TYPE_CTRL_CLASS documentation
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 6 Apr 2010 09:41:28 +0000 (06:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:05 +0000 (12:57 -0300)
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>
Documentation/DocBook/v4l/vidioc-queryctrl.xml

index 4876ff1a1a0496c25b21aec609899983c4820e4d..8e0e055ac9349fbd3f7025df71486fa3b1054235 100644 (file)
@@ -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>