From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]:3545 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752720Ab0GFCoL (ORCPT ); Mon, 5 Jul 2010 22:44:11 -0400 Message-ID: <4C32987B.10307@redhat.com> Date: Mon, 05 Jul 2010 23:44:11 -0300 From: Mauro Carvalho Chehab MIME-Version: 1.0 To: "Matti J. Aaltonen" CC: linux-media@vger.kernel.org, hverkuil@xs4all.nl, eduardo.valentin@nokia.com Subject: Re: [PATCH v4 5/5] Documentation: v4l: Add hw_seek spacing. References: <1275647663-20650-1-git-send-email-matti.j.aaltonen@nokia.com> <1275647663-20650-2-git-send-email-matti.j.aaltonen@nokia.com> <1275647663-20650-3-git-send-email-matti.j.aaltonen@nokia.com> <1275647663-20650-4-git-send-email-matti.j.aaltonen@nokia.com> <1275647663-20650-5-git-send-email-matti.j.aaltonen@nokia.com> <1275647663-20650-6-git-send-email-matti.j.aaltonen@nokia.com> In-Reply-To: <1275647663-20650-6-git-send-email-matti.j.aaltonen@nokia.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Em 04-06-2010 07:34, Matti J. Aaltonen escreveu: > Add a couple of words about the spacing field in HW seek struct. > > Signed-off-by: Matti J. Aaltonen > --- > .../DocBook/v4l/vidioc-s-hw-freq-seek.xml | 10 ++++++++-- > 1 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a/Documentation/DocBook/v4l/vidioc-s-hw-freq-seek.xml b/Documentation/DocBook/v4l/vidioc-s-hw-freq-seek.xml > index 14b3ec7..8ee614c 100644 > --- a/Documentation/DocBook/v4l/vidioc-s-hw-freq-seek.xml > +++ b/Documentation/DocBook/v4l/vidioc-s-hw-freq-seek.xml > @@ -51,7 +51,8 @@ > > Start a hardware frequency seek from the current frequency. > To do this applications initialize the tuner, > -type, seek_upward and > +type, seek_upward, > +spacing and > wrap_around fields, and zero out the > reserved array of a &v4l2-hw-freq-seek; and > call the VIDIOC_S_HW_FREQ_SEEK ioctl with a pointer > @@ -89,7 +90,12 @@ field and the &v4l2-tuner; index field. > > > __u32 > - reserved[8] > + spacing > + If non-zero, gives the search resolution to be used in hardware scan. The driver selects the nearest value that is supported by the hardware. If spacing is zero use a reasonable default value. What's the unit for spacing? > + > + > + __u32 > + reserved[7] > Reserved for future extensions. Drivers and > applications must set the array to zero. >