summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/tuners/tda18271-fe.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2009-09-06 13:38:48 -0400
committerMichael Krufky <mkrufky@kernellabs.com>2009-09-06 13:38:48 -0400
commit8256238d5c1cbfe2fa9d0811b307b079b99207a4 (patch)
treee1d32eff11636100e0637a946c05637b8501b0bd /linux/drivers/media/common/tuners/tda18271-fe.c
parentdf4fd3a3c2986681ed1e054a79bf723734d3130e (diff)
downloadmediapointer-dvb-s2-8256238d5c1cbfe2fa9d0811b307b079b99207a4.tar.gz
mediapointer-dvb-s2-8256238d5c1cbfe2fa9d0811b307b079b99207a4.tar.bz2
tda18271: fix comments and make tda18271_agc debug less verbose
From: Michael Krufky <mkrufky@kernellabs.com> Don't display "no agc configuration provided" unless DBG_ADV is set. Fix comments in function, tda18271_agc. This config variable is not for LNA configuration -- it is for external AGC configuration. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Diffstat (limited to 'linux/drivers/media/common/tuners/tda18271-fe.c')
-rw-r--r--linux/drivers/media/common/tuners/tda18271-fe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/common/tuners/tda18271-fe.c b/linux/drivers/media/common/tuners/tda18271-fe.c
index 56bab7c28..ee99e7199 100644
--- a/linux/drivers/media/common/tuners/tda18271-fe.c
+++ b/linux/drivers/media/common/tuners/tda18271-fe.c
@@ -864,8 +864,9 @@ static int tda18271_agc(struct dvb_frontend *fe)
switch (priv->config) {
case 0:
- /* no LNA */
- tda_dbg("no agc configuration provided\n");
+ /* no external agc configuration required */
+ if (tda18271_debug & DBG_ADV)
+ tda_dbg("no agc configuration provided\n");
break;
case 3:
/* switch with GPIO of saa713x */