[media] V4L2 Spec: return -EINVAL on unsupported wrap_around value
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>
This commit is contained in:
parent
cfb19b0ab1
commit
9d17217330
1 changed files with 3 additions and 3 deletions
|
@ -96,8 +96,8 @@ field and the &v4l2-tuner; <structfield>index</structfield> field.</entry>
|
||||||
<row>
|
<row>
|
||||||
<entry>__u32</entry>
|
<entry>__u32</entry>
|
||||||
<entry><structfield>reserved</structfield>[7]</entry>
|
<entry><structfield>reserved</structfield>[7]</entry>
|
||||||
<entry>Reserved for future extensions. Drivers and
|
<entry>Reserved for future extensions. Applications
|
||||||
applications must set the array to zero.</entry>
|
must set the array to zero.</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
|
@ -112,7 +112,7 @@ field and the &v4l2-tuner; <structfield>index</structfield> field.</entry>
|
||||||
<term><errorcode>EINVAL</errorcode></term>
|
<term><errorcode>EINVAL</errorcode></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The <structfield>tuner</structfield> index is out of
|
<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>
|
wrong.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
Loading…
Add table
Reference in a new issue