From: "Tycho Lürsen" <tycholursen@gmail.com>
To: linux-media@vger.kernel.org
Subject: Re: [PATCH 2/2] si2168: add support for 1.7MHz bandwidth
Date: Fri, 16 Jan 2015 15:28:20 +0100 [thread overview]
Message-ID: <54B92004.1080001@gmail.com> (raw)
In-Reply-To: <1421411720-2364-2-git-send-email-olli.salonen@iki.fi>
Hi Olli,
did you commit this anywhere?
Regards,
Tycho.
Op 16-01-15 om 13:35 schreef Olli Salonen:
> This patch is based on Antti's silabs branch.
>
> Add support for 1.7 MHz bandwidth. Supported in all versions of Si2168 according to short data sheets.
>
> Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
> ---
> drivers/media/dvb-frontends/si2168.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c
> index 7fef5ab..ec893ee 100644
> --- a/drivers/media/dvb-frontends/si2168.c
> +++ b/drivers/media/dvb-frontends/si2168.c
> @@ -185,6 +185,8 @@ static int si2168_set_frontend(struct dvb_frontend *fe)
> dev_err(&client->dev, "automatic bandwidth not supported");
> goto err;
> }
> + else if (c->bandwidth_hz <= 2000000)
> + bandwidth = 0x02;
> else if (c->bandwidth_hz <= 5000000)
> bandwidth = 0x05;
> else if (c->bandwidth_hz <= 6000000)
next prev parent reply other threads:[~2015-01-16 14:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 12:35 [PATCH 1/2] si2168: return error if set_frontend is called with invalid parameters Olli Salonen
2015-01-16 12:35 ` [PATCH 2/2] si2168: add support for 1.7MHz bandwidth Olli Salonen
2015-01-16 14:26 ` Antti Palosaari
2015-01-16 14:28 ` Tycho Lürsen [this message]
2015-01-16 20:20 ` Prabhakar Lad
2015-01-16 14:22 ` [PATCH 1/2] si2168: return error if set_frontend is called with invalid parameters Antti Palosaari
2015-01-16 14:31 ` Prabhakar Lad
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=54B92004.1080001@gmail.com \
--to=tycholursen@gmail.com \
--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.