[media] v4l: Mark VIDIOC_SUBDEV_G_CROP and VIDIOC_SUBDEV_S_CROP obsolete
authorSakari Ailus <sakari.ailus@iki.fi>
Sat, 7 Jan 2012 09:23:36 +0000 (06:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Apr 2012 20:12:13 +0000 (17:12 -0300)
These two IOCTLS are obsoleted by VIDIOC_SUBDEV_G_SELECTION and
VIDIOC_SUBDEV_S_SELECTION. Mark them obsolete.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/compat.xml
Documentation/DocBook/media/v4l/vidioc-subdev-g-crop.xml

index 0fc74ca81f0f83f466e28a747e029aa0cfb1b769..87339b2aad78232f6890e9ac572dfa002c1f16f6 100644 (file)
@@ -2557,6 +2557,13 @@ interfaces and should not be implemented in new drivers.</para>
 <constant>VIDIOC_S_MPEGCOMP</constant> ioctls. Use Extended Controls,
 <xref linkend="extended-controls" />.</para>
         </listitem>
+        <listitem>
+         <para><constant>VIDIOC_SUBDEV_G_CROP</constant> and
+         <constant>VIDIOC_SUBDEV_S_CROP</constant> ioctls. Use
+         <constant>VIDIOC_SUBDEV_G_SELECTION</constant> and
+         <constant>VIDIOC_SUBDEV_S_SELECTION</constant>, <xref
+         linkend="vidioc-subdev-g-selection" />.</para>
+        </listitem>
       </itemizedlist>
     </section>
   </section>
index 06197323a8cc522c510dba5050d707e7c9f0c4c4..4cddd788c589468c8b94fe1ec422bdadb852f6fe 100644 (file)
     <title>Description</title>
 
     <note>
-      <title>Experimental</title>
-      <para>This is an <link linkend="experimental">experimental</link>
-      interface and may change in the future.</para>
+      <title>Obsolete</title>
+
+      <para>This is an <link linkend="obsolete">obsolete</link>
+      interface and may be removed in the future. It is superseded by
+      <link linkend="vidioc-subdev-g-selection">the selection
+      API</link>.</para>
     </note>
 
     <para>To retrieve the current crop rectangle applications set the