From: Antti Palosaari <crope@iki.fi>
To: Nicholas Krause <xerofoify@gmail.com>
Cc: mchehab@osg.samsung.com, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media:dvb-frontends:Change setting of dtv_frontend_properties modulation to the correct value in the function,hd29l2_get_frontend
Date: Mon, 02 Feb 2015 16:40:43 +0200 [thread overview]
Message-ID: <54CF8C6B.5080308@iki.fi> (raw)
In-Reply-To: <1422887642-15590-1-git-send-email-xerofoify@gmail.com>
Moikka!
That patch is not correct and will not even compile. Problem is that
QAM_4NR and QAM_4 are not defined (OK, QPSK is QAM-4).
regards
Antti
On 02/02/2015 04:34 PM, Nicholas Krause wrote:
> Changes the values in the switch statement of the function,d29l2_get_frontend
> to use the proper value for the dtv_frontend_properties modulation value. Further
> more this changes the values of case 0 and case 1 to use the correct values of
> QAM_4NR and QAM_4 respectfully.
>
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
> drivers/media/dvb-frontends/hd29l2.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/dvb-frontends/hd29l2.c b/drivers/media/dvb-frontends/hd29l2.c
> index d7b9d54..48cafc9 100644
> --- a/drivers/media/dvb-frontends/hd29l2.c
> +++ b/drivers/media/dvb-frontends/hd29l2.c
> @@ -579,11 +579,11 @@ static int hd29l2_get_frontend(struct dvb_frontend *fe)
> switch ((buf[0] >> 0) & 0x07) {
> case 0: /* QAM4NR */
> str_constellation = "QAM4NR";
> - c->modulation = QAM_AUTO; /* FIXME */
> + c->modulation = QAM_4NR;
> break;
> case 1: /* QAM4 */
> str_constellation = "QAM4";
> - c->modulation = QPSK; /* FIXME */
> + c->modulation = QAM_4;
> break;
> case 2:
> str_constellation = "QAM16";
>
--
http://palosaari.fi/
parent reply other threads:[~2015-02-02 14:40 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1422887642-15590-1-git-send-email-xerofoify@gmail.com>]
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=54CF8C6B.5080308@iki.fi \
--to=crope@iki.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@osg.samsung.com \
--cc=xerofoify@gmail.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 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.