From: Hans de Goede <hdegoede@redhat.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
halli manjunatha <hallimanju@gmail.com>
Subject: Re: [PATCH 1/5] v4l2: Add rangelow and rangehigh fields to the v4l2_hw_freq_seek struct
Date: Thu, 12 Jul 2012 22:55:38 +0200 [thread overview]
Message-ID: <4FFF39CA.3050609@redhat.com> (raw)
In-Reply-To: <201207121127.06460.hverkuil@xs4all.nl>
Hi,
On 07/12/2012 11:27 AM, Hans Verkuil wrote:
> On Wed 11 July 2012 20:37:14 Hans de Goede wrote:
<snip>
>>> 2) What happens if the current frequency is outside the low/high range? The
>>> hwseek spec says that the seek starts from the current frequency, so that might
>>> mean that hwseek returns -ERANGE in this case.
>>
>> What the si470x code currently does is just clamp the frequency to the new
>> range before seeking, but -ERANGE works for me too.
>
> Clamping is a better idea IMHO as long as it is documented.
Ok, I've respun this patch to improve the documentation in various parts, I'm
resending the entire set right after this email.
Regards,
Hans
p.s.
Tomorrow morning I'm leaving for a week of vacation, during which I won't be
reading my mail. If everybody agrees on the 2nd revision of this patchset
please add it to your bands2 branch, and if you agree that this seems to be
it wrt the API for tuner-bands, you could also consider sending a pull-req
for it to Mauro for 3.6 :)
next prev parent reply other threads:[~2012-07-12 20:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 15:47 RFC: Add support for limiting hw freq seeks to a certain band Hans de Goede
2012-07-11 15:47 ` [PATCH 1/5] v4l2: Add rangelow and rangehigh fields to the v4l2_hw_freq_seek struct Hans de Goede
2012-07-11 18:01 ` Hans Verkuil
2012-07-11 18:37 ` Hans de Goede
2012-07-12 9:27 ` Hans Verkuil
2012-07-12 20:55 ` Hans de Goede [this message]
2012-07-11 18:37 ` halli manjunatha
2012-07-12 15:53 ` Hans de Goede
2012-07-11 15:47 ` [PATCH 2/5] radio-si470x: restore ctrl settings after suspend/resume Hans de Goede
2012-07-11 15:47 ` [PATCH 3/5] radio-si470x: Fix band selection Hans de Goede
2012-07-11 15:47 ` [PATCH 4/5] radio-si470x: Add support for the new band APIs Hans de Goede
2012-07-11 15:47 ` [PATCH 5/5] radio-si470x: Lower firmware version requirements Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FFF39CA.3050609@redhat.com \
--to=hdegoede@redhat.com \
--cc=hallimanju@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.