[media] V4L2 Spec: return -EINVAL on unsupported wrap_around value
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 27 Feb 2012 08:36:38 +0000 (05:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 19 Mar 2012 14:29:28 +0000 (11:29 -0300)
This is a small extension to the S_HW_FREQ_SEEK ioctl: if the wrap_around
value is not support by the hardware, then -EINVAL is returned.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/vidioc-s-hw-freq-seek.xml

index e013da845b1192c7f4dca179814e4a4d41eeb81d..18b1a8266f7c239c73f3bc83262ffa5b86755419 100644 (file)
@@ -96,8 +96,8 @@ field and the &v4l2-tuner; <structfield>index</structfield> field.</entry>
          <row>
            <entry>__u32</entry>
            <entry><structfield>reserved</structfield>[7]</entry>
-           <entry>Reserved for future extensions. Drivers and
-           applications must set the array to zero.</entry>
+           <entry>Reserved for future extensions. Applications
+           must set the array to zero.</entry>
          </row>
        </tbody>
       </tgroup>
@@ -112,7 +112,7 @@ field and the &v4l2-tuner; <structfield>index</structfield> field.</entry>
        <term><errorcode>EINVAL</errorcode></term>
        <listitem>
          <para>The <structfield>tuner</structfield> index is out of
-bounds or the value in the <structfield>type</structfield> field is
+bounds, the wrap_around value is not supported or the value in the <structfield>type</structfield> field is
 wrong.</para>
        </listitem>
       </varlistentry>