diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2009-09-06 13:38:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:13:49 -0400 |
commit | ecda427340b7bb5c61fbf18857645286c2bfec6c (patch) | |
tree | a7cbb7318f0db269a0d51922668e1379391fb429 /drivers/media/common/tuners | |
parent | 650901c0b6917505e81f6593d230ea3cdcf6518a (diff) |
V4L/DVB (12869): tda18271: fix comments and make tda18271_agc debug less verbose
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.
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners')
-rw-r--r-- | drivers/media/common/tuners/tda18271-fe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c index 152df76cdce8..916a6e150863 100644 --- a/drivers/media/common/tuners/tda18271-fe.c +++ b/drivers/media/common/tuners/tda18271-fe.c | |||
@@ -863,8 +863,9 @@ static int tda18271_agc(struct dvb_frontend *fe) | |||
863 | 863 | ||
864 | switch (priv->config) { | 864 | switch (priv->config) { |
865 | case 0: | 865 | case 0: |
866 | /* no LNA */ | 866 | /* no external agc configuration required */ |
867 | tda_dbg("no agc configuration provided\n"); | 867 | if (tda18271_debug & DBG_ADV) |
868 | tda_dbg("no agc configuration provided\n"); | ||
868 | break; | 869 | break; |
869 | case 3: | 870 | case 3: |
870 | /* switch with GPIO of saa713x */ | 871 | /* switch with GPIO of saa713x */ |