From: Gianluca Gennari <gennarone@gmail.com>
To: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: Re: [PATCH 1/1] xc3028: force reload of DTV7 firmware in VHF band with Zarlink demodulator
Date: Tue, 06 Dec 2011 15:34:49 +0100 [thread overview]
Message-ID: <4EDE2809.1040406@gmail.com> (raw)
In-Reply-To: <4EDE27A0.8060406@gmail.com>
xc3028: force reload of DTV7 firmware in VHF band as DTV78 firmware is
not working with bw=7 MHz.
The patch is effective only with Zarlink demodulators.
Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
---
drivers/media/common/tuners/tuner-xc2028.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/media/common/tuners/tuner-xc2028.c
b/drivers/media/common/tuners/tuner-xc2028.c
index e531267..d92f862 100644
--- a/drivers/media/common/tuners/tuner-xc2028.c
+++ b/drivers/media/common/tuners/tuner-xc2028.c
@@ -1129,7 +1129,8 @@ static int xc2028_set_params(struct dvb_frontend *fe,
priv->ctrl.vhfbw7 = 1;
else
priv->ctrl.uhfbw8 = 0;
- type |= (priv->ctrl.vhfbw7 && priv->ctrl.uhfbw8) ? DTV78 : DTV7;
+ type |= (priv->ctrl.demod != XC3028_FE_ZARLINK456 &&
+ priv->ctrl.vhfbw7 && priv->ctrl.uhfbw8) ? DTV78 : DTV7;
type |= F8MHZ;
break;
case BANDWIDTH_6_MHZ:
--
1.7.0.4
next prev parent reply other threads:[~2011-12-06 14:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 14:33 [PATCH 0/1] xc3028: force reload of DTV7 firmware in VHF band with Zarlink demodulator Gianluca Gennari
2011-12-06 14:34 ` Gianluca Gennari [this message]
2011-12-07 13:12 ` Mauro Carvalho Chehab
2011-12-07 13:47 ` Gianluca Gennari
2011-12-07 14:20 ` Mauro Carvalho Chehab
[not found] ` <4EDF7DF3.1080007@gmail.com>
2011-12-07 15:05 ` Mauro Carvalho Chehab
[not found] ` <4EDF8A22.6020201@gmail.com>
2011-12-07 15:51 ` Gianluca Gennari
2011-12-07 16:21 ` Mauro Carvalho Chehab
2011-12-07 17:25 ` Gianluca Gennari
2011-12-07 18:58 ` Mauro Carvalho Chehab
[not found] ` <4EDFBF17.5040407@gmail.com>
2011-12-07 19:49 ` Mauro Carvalho Chehab
2011-12-07 21:54 ` Christoph Pfister
2011-12-08 10:04 ` Mauro Carvalho Chehab
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=4EDE2809.1040406@gmail.com \
--to=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 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.