diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2014-08-06 02:52:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-21 16:25:35 -0400 |
commit | 6e533c01a89fbb8b1a5c58808540e798e2dad645 (patch) | |
tree | c72a52af8e42a131fdfa3fdaaef3fb7a2c42db85 /Documentation/DocBook | |
parent | 6ddc2be511a76e6c3f689f46155cb0f4c8f5876e (diff) |
[media] v4l: Event documentation fixes
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>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 7 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-dqevent.xml b/Documentation/DocBook/media/v4l/vidioc-dqevent.xml index cb7732582f03..b036f8963353 100644 --- a/Documentation/DocBook/media/v4l/vidioc-dqevent.xml +++ b/Documentation/DocBook/media/v4l/vidioc-dqevent.xml | |||
@@ -76,21 +76,22 @@ | |||
76 | <entry></entry> | 76 | <entry></entry> |
77 | <entry>&v4l2-event-vsync;</entry> | 77 | <entry>&v4l2-event-vsync;</entry> |
78 | <entry><structfield>vsync</structfield></entry> | 78 | <entry><structfield>vsync</structfield></entry> |
79 | <entry>Event data for event V4L2_EVENT_VSYNC. | 79 | <entry>Event data for event <constant>V4L2_EVENT_VSYNC</constant>. |
80 | </entry> | 80 | </entry> |
81 | </row> | 81 | </row> |
82 | <row> | 82 | <row> |
83 | <entry></entry> | 83 | <entry></entry> |
84 | <entry>&v4l2-event-ctrl;</entry> | 84 | <entry>&v4l2-event-ctrl;</entry> |
85 | <entry><structfield>ctrl</structfield></entry> | 85 | <entry><structfield>ctrl</structfield></entry> |
86 | <entry>Event data for event V4L2_EVENT_CTRL. | 86 | <entry>Event data for event <constant>V4L2_EVENT_CTRL</constant>. |
87 | </entry> | 87 | </entry> |
88 | </row> | 88 | </row> |
89 | <row> | 89 | <row> |
90 | <entry></entry> | 90 | <entry></entry> |
91 | <entry>&v4l2-event-frame-sync;</entry> | 91 | <entry>&v4l2-event-frame-sync;</entry> |
92 | <entry><structfield>frame_sync</structfield></entry> | 92 | <entry><structfield>frame_sync</structfield></entry> |
93 | <entry>Event data for event V4L2_EVENT_FRAME_SYNC.</entry> | 93 | <entry>Event data for event |
94 | <constant>V4L2_EVENT_FRAME_SYNC</constant>.</entry> | ||
94 | </row> | 95 | </row> |
95 | <row> | 96 | <row> |
96 | <entry></entry> | 97 | <entry></entry> |
diff --git a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml index 9f6095608837..d7c9365ecdbe 100644 --- a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml +++ b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml | |||
@@ -176,7 +176,7 @@ | |||
176 | </row> | 176 | </row> |
177 | <row> | 177 | <row> |
178 | <entry><constant>V4L2_EVENT_MOTION_DET</constant></entry> | 178 | <entry><constant>V4L2_EVENT_MOTION_DET</constant></entry> |
179 | <entry>5</entry> | 179 | <entry>6</entry> |
180 | <entry> | 180 | <entry> |
181 | <para>Triggered whenever the motion detection state for one or more of the regions | 181 | <para>Triggered whenever the motion detection state for one or more of the regions |
182 | changes. This event has a &v4l2-event-motion-det; associated with it.</para> | 182 | changes. This event has a &v4l2-event-motion-det; associated with it.</para> |