From: Antti Palosaari <crope@iki.fi>
To: gennarone@gmail.com
Cc: linux-media@vger.kernel.org, Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: Re: [PATCH] af9013: Fix typo in get_frontend() function
Date: Mon, 09 Jan 2012 19:37:33 +0200 [thread overview]
Message-ID: <4F0B25DD.1070900@iki.fi> (raw)
In-Reply-To: <4F033F37.3030301@gmail.com>
Seems to be clear bug! Thanks.
Acked-by: Antti Palosaari <crope@iki.fi>
On 01/03/2012 07:47 PM, Gianluca Gennari wrote:
> This patch fixes an obvious typo in the get_frontend() function
> of the af9013 driver, recently rewritten by Antti Palosaari.
>
> Signed-off-by: Gianluca Gennari<gennarone@gmail.com>
> ---
> drivers/media/dvb/frontends/af9013.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/media/dvb/frontends/af9013.c
> b/drivers/media/dvb/frontends/af9013.c
> index e6ba3e0..2aedc0b 100644
> --- a/drivers/media/dvb/frontends/af9013.c
> +++ b/drivers/media/dvb/frontends/af9013.c
> @@ -880,16 +880,16 @@ static int af9013_get_frontend(struct dvb_frontend
> *fe)
>
> switch ((buf[0]>> 2)& 3) {
> case 0:
> - c->transmission_mode = GUARD_INTERVAL_1_32;
> + c->guard_interval = GUARD_INTERVAL_1_32;
> break;
> case 1:
> - c->transmission_mode = GUARD_INTERVAL_1_16;
> + c->guard_interval = GUARD_INTERVAL_1_16;
> break;
> case 2:
> - c->transmission_mode = GUARD_INTERVAL_1_8;
> + c->guard_interval = GUARD_INTERVAL_1_8;
> break;
> case 3:
> - c->transmission_mode = GUARD_INTERVAL_1_4;
> + c->guard_interval = GUARD_INTERVAL_1_4;
> break;
> }
>
--
http://palosaari.fi/
prev parent reply other threads:[~2012-01-09 17:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 17:47 [PATCH] af9013: Fix typo in get_frontend() function Gianluca Gennari
2012-01-09 17:37 ` 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=4F0B25DD.1070900@iki.fi \
--to=crope@iki.fi \
--cc=gennarone@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/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).