From: Antti Palosaari <crope@iki.fi>
To: Benjamin Larsson <benjamin@southpole.se>, unlisted-recipients:;
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH] mn88472: add 5MHz dvb-t2 bandwitdh support
Date: Sun, 07 Dec 2014 00:32:17 +0200 [thread overview]
Message-ID: <548383F1.1030400@iki.fi> (raw)
In-Reply-To: <1417903051-22099-1-git-send-email-benjamin@southpole.se>
On 12/06/2014 11:57 PM, Benjamin Larsson wrote:
> Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Antti
> ---
> drivers/staging/media/mn88472/mn88472.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/mn88472/mn88472.c b/drivers/staging/media/mn88472/mn88472.c
> index c6895ee..be8a6d5 100644
> --- a/drivers/staging/media/mn88472/mn88472.c
> +++ b/drivers/staging/media/mn88472/mn88472.c
> @@ -61,7 +61,10 @@ static int mn88472_set_frontend(struct dvb_frontend *fe)
> switch (c->delivery_system) {
> case SYS_DVBT:
> case SYS_DVBT2:
> - if (c->bandwidth_hz <= 6000000) {
> + if (c->bandwidth_hz <= 5000000) {
> + memcpy(bw_val, "\xe5\x99\x9a\x1b\xa9\x1b\xa9", 7);
> + bw_val2 = 0x03;
> + } else if (c->bandwidth_hz <= 6000000) {
> /* IF 3570000 Hz, BW 6000000 Hz */
> memcpy(bw_val, "\xbf\x55\x55\x15\x6b\x15\x6b", 7);
> bw_val2 = 0x02;
>
--
http://palosaari.fi/
prev parent reply other threads:[~2014-12-06 22:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-06 21:57 [PATCH] mn88472: add 5MHz dvb-t2 bandwitdh support Benjamin Larsson
2014-12-06 22:32 ` 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=548383F1.1030400@iki.fi \
--to=crope@iki.fi \
--cc=benjamin@southpole.se \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).