From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp-vbr13.xs4all.nl ([194.109.24.33]:4963 "EHLO smtp-vbr13.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754280AbaHFGoA (ORCPT ); Wed, 6 Aug 2014 02:44:00 -0400 Message-ID: <53E1CEA2.3080503@xs4all.nl> Date: Wed, 06 Aug 2014 08:43:46 +0200 From: Hans Verkuil MIME-Version: 1.0 To: Sakari Ailus , linux-media@vger.kernel.org Subject: Re: [PATCH 1/1] v4l: Event documentation fixes References: <1407307069-13480-1-git-send-email-sakari.ailus@linux.intel.com> In-Reply-To: <1407307069-13480-1-git-send-email-sakari.ailus@linux.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 08/06/2014 08:37 AM, Sakari Ailus wrote: > Constify event type constants and correct motion detection event number > (it's 6, not 5). > > Signed-off-by: Sakari Ailus > --- > Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 7 ++++--- > 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 cb77325..ce7e700 100644 > --- a/Documentation/DocBook/media/v4l/vidioc-dqevent.xml > +++ b/Documentation/DocBook/media/v4l/vidioc-dqevent.xml > @@ -76,21 +76,22 @@ > > &v4l2-event-vsync; > vsync > - Event data for event V4L2_EVENT_VSYNC. > + Event data for event V4L2_EVENT_VSYNC. > > > > > &v4l2-event-ctrl; > ctrl > - Event data for event V4L2_EVENT_CTRL. > + Event data for event V4L2_EVENT_CTRL. > > > > > &v4l2-event-frame-sync; > frame_sync > - Event data for event V4L2_EVENT_FRAME_SYNC. > + Event data for event V4L2_EVENT_FRAME_SYNC > + . Keep next to V4L2_EVENT_FRAME_SYNC otherwise you will end up with "V4L2_EVENT_FRAME_SYNC ." in the html output. > > > > diff --git a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml > index 9f60956..d7c9365 100644 > --- a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml > +++ b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml > @@ -176,7 +176,7 @@ > > > V4L2_EVENT_MOTION_DET > - 5 > + 6 Oops! My mistake. > > 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. > Regards, Hans