OSDN Git Service

[media] v4l: Event documentation fixes
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 6 Aug 2014 06:52:08 +0000 (03:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:35 +0000 (15:25 -0500)
Constify event type constants and correct motion detection event number
(it's 6, not 5).

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/DocBook/media/v4l/vidioc-dqevent.xml
Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml

index cb77325..b036f89 100644 (file)
            <entry></entry>
            <entry>&v4l2-event-vsync;</entry>
             <entry><structfield>vsync</structfield></entry>
-           <entry>Event data for event V4L2_EVENT_VSYNC.
+           <entry>Event data for event <constant>V4L2_EVENT_VSYNC</constant>.
             </entry>
          </row>
          <row>
            <entry></entry>
            <entry>&v4l2-event-ctrl;</entry>
             <entry><structfield>ctrl</structfield></entry>
-           <entry>Event data for event V4L2_EVENT_CTRL.
+           <entry>Event data for event <constant>V4L2_EVENT_CTRL</constant>.
             </entry>
          </row>
          <row>
            <entry></entry>
            <entry>&v4l2-event-frame-sync;</entry>
             <entry><structfield>frame_sync</structfield></entry>
-           <entry>Event data for event V4L2_EVENT_FRAME_SYNC.</entry>
+           <entry>Event data for event
+           <constant>V4L2_EVENT_FRAME_SYNC</constant>.</entry>
          </row>
          <row>
            <entry></entry>
index 9f60956..d7c9365 100644 (file)
          </row>
          <row>
            <entry><constant>V4L2_EVENT_MOTION_DET</constant></entry>
-           <entry>5</entry>
+           <entry>6</entry>
            <entry>
              <para>Triggered whenever the motion detection state for one or more of the regions
              changes. This event has a &v4l2-event-motion-det; associated with it.</para>