From: Antti Palosaari <crope@iki.fi>
To: Matthias Schwarzott <zzam@gentoo.org>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH 2/2] si2157: Add get_if_frequency callback
Date: Tue, 15 Jul 2014 14:08:55 +0300 [thread overview]
Message-ID: <53C50BC7.9020306@iki.fi> (raw)
In-Reply-To: <1405411120-9569-3-git-send-email-zzam@gentoo.org>
Looks correct, I will apply that.
regards
Antti
On 07/15/2014 10:58 AM, Matthias Schwarzott wrote:
> This is needed for PCTV 522e support.
>
> Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
> ---
> drivers/media/tuners/si2157.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
> index 4dbd3f1..06153fa 100644
> --- a/drivers/media/tuners/si2157.c
> +++ b/drivers/media/tuners/si2157.c
> @@ -279,6 +279,12 @@ err:
> return ret;
> }
>
> +static int si2157_get_if_frequency(struct dvb_frontend *fe, u32 *frequency)
> +{
> + *frequency = 5000000; /* default value of property 0x0706 */
> + return 0;
> +}
> +
> static const struct dvb_tuner_ops si2157_tuner_ops = {
> .info = {
> .name = "Silicon Labs Si2157/Si2158",
> @@ -289,6 +295,7 @@ static const struct dvb_tuner_ops si2157_tuner_ops = {
> .init = si2157_init,
> .sleep = si2157_sleep,
> .set_params = si2157_set_params,
> + .get_if_frequency = si2157_get_if_frequency,
> };
>
> static int si2157_probe(struct i2c_client *client,
>
--
http://palosaari.fi/
prev parent reply other threads:[~2014-07-15 11:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1405411120-9569-1-git-send-email-zzam@gentoo.org>
2014-07-15 7:58 ` [PATCH 1/2] si2157: Add support for spectrum inversion Matthias Schwarzott
2014-07-15 11:08 ` Antti Palosaari
2014-07-15 19:26 ` Matthias Schwarzott
2014-07-15 19:34 ` [PATCH 1/3] cxusb: Prepare for si2157 driver getting more parameters Matthias Schwarzott
2014-07-19 2:15 ` Antti Palosaari
2014-07-15 19:34 ` [PATCH 2/3] em28xx-dvb: " Matthias Schwarzott
2014-07-19 2:16 ` Antti Palosaari
2014-07-15 19:34 ` [PATCH 3/3] si2157: Add support for spectral inversion Matthias Schwarzott
2014-07-19 2:25 ` Antti Palosaari
2014-07-15 7:58 ` [PATCH 2/2] si2157: Add get_if_frequency callback Matthias Schwarzott
2014-07-15 11:08 ` Antti Palosaari [this message]
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=53C50BC7.9020306@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=zzam@gentoo.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.