diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-04 14:18:48 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-04 14:18:48 -0400 |
commit | d54a5aeffd20a5eb9c73e2aebe19c86499e0c6c7 (patch) | |
tree | b2768f7c5dd7c0f8537ce585b985412217402eb5 /linux/drivers/media/common | |
parent | 795210ef84f3116328c8e10766f9aa019a9842b3 (diff) | |
download | mediapointer-dvb-s2-d54a5aeffd20a5eb9c73e2aebe19c86499e0c6c7.tar.gz mediapointer-dvb-s2-d54a5aeffd20a5eb9c73e2aebe19c86499e0c6c7.tar.bz2 |
tda18271: make tda18271_set_standby_mode less verbose for basic debug
From: Michael Krufky <mkrufky@linuxtv.org>
Only show debug from tda18271_set_standby_mode if DBG_ADV is set.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/common')
-rw-r--r-- | linux/drivers/media/common/tuners/tda18271-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/common/tuners/tda18271-common.c b/linux/drivers/media/common/tuners/tda18271-common.c index e07f69b29..28575e4c5 100644 --- a/linux/drivers/media/common/tuners/tda18271-common.c +++ b/linux/drivers/media/common/tuners/tda18271-common.c @@ -554,7 +554,8 @@ int tda18271_set_standby_mode(struct dvb_frontend *fe, struct tda18271_priv *priv = fe->tuner_priv; unsigned char *regs = priv->tda18271_regs; - tda_dbg("sm = %d, sm_lt = %d, sm_xt = %d\n", sm, sm_lt, sm_xt); + if (tda18271_debug & DBG_ADV) + tda_dbg("sm = %d, sm_lt = %d, sm_xt = %d\n", sm, sm_lt, sm_xt); regs[R_EP3] &= ~0xe0; /* clear sm, sm_lt, sm_xt */ regs[R_EP3] |= sm ? (1 << 7) : 0 | |