aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-21 07:33:38 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 16:49:53 -0400
commitf9611240b96fd18359531e939b09969fee556221 (patch)
tree2d45e3d7c2c8d2dbf2c02a354054689f16eb64ef /Documentation/DocBook
parent6473262e80709e65b7dc71549b8b8e41c604809a (diff)
[media] DocBook: in non-blocking mode return EAGAIN in hwseek
VIDIOC_S_HW_FREQ_SEEK should return EAGAIN when called in non-blocking mode. This might change in the future if we add support for this in the future, but right now this is not supported. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-s-hw-freq-seek.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-s-hw-freq-seek.xml b/Documentation/DocBook/media/v4l/vidioc-s-hw-freq-seek.xml
index 3dd1bec6d3c7..5b379e752194 100644
--- a/Documentation/DocBook/media/v4l/vidioc-s-hw-freq-seek.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-s-hw-freq-seek.xml
@@ -75,6 +75,9 @@ seek is started.</para>
75 75
76 <para>This ioctl is supported if the <constant>V4L2_CAP_HW_FREQ_SEEK</constant> capability is set.</para> 76 <para>This ioctl is supported if the <constant>V4L2_CAP_HW_FREQ_SEEK</constant> capability is set.</para>
77 77
78 <para>If this ioctl is called from a non-blocking filehandle, then &EAGAIN; is
79 returned and no seek takes place.</para>
80
78 <table pgwide="1" frame="none" id="v4l2-hw-freq-seek"> 81 <table pgwide="1" frame="none" id="v4l2-hw-freq-seek">
79 <title>struct <structname>v4l2_hw_freq_seek</structname></title> 82 <title>struct <structname>v4l2_hw_freq_seek</structname></title>
80 <tgroup cols="3"> 83 <tgroup cols="3">
@@ -158,6 +161,13 @@ fields is wrong.</para>
158 </listitem> 161 </listitem>
159 </varlistentry> 162 </varlistentry>
160 <varlistentry> 163 <varlistentry>
164 <term><errorcode>EAGAIN</errorcode></term>
165 <listitem>
166 <para>Attempted to call <constant>VIDIOC_S_HW_FREQ_SEEK</constant>
167 with the filehandle in non-blocking mode.</para>
168 </listitem>
169 </varlistentry>
170 <varlistentry>
161 <term><errorcode>ENODATA</errorcode></term> 171 <term><errorcode>ENODATA</errorcode></term>
162 <listitem> 172 <listitem>
163 <para>The hardware seek found no channels.</para> 173 <para>The hardware seek found no channels.</para>