diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2009-09-06 13:38:48 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@kernellabs.com> | 2009-09-06 13:38:48 -0400 |
commit | 8256238d5c1cbfe2fa9d0811b307b079b99207a4 (patch) | |
tree | e1d32eff11636100e0637a946c05637b8501b0bd /linux/drivers/media/common/tuners/tda18271-fe.c | |
parent | df4fd3a3c2986681ed1e054a79bf723734d3130e (diff) | |
download | mediapointer-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.c | 5 |
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 */ |