summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/tuners/tda18271-fe.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2009-08-28 17:52:26 -0400
committerMichael Krufky <mkrufky@kernellabs.com>2009-08-28 17:52:26 -0400
commitdba8a3703b87ab030d5b6c4c5933f5aa3493e2dd (patch)
tree0edcad7cba43d907da8a8bc24121a11ef0777191 /linux/drivers/media/common/tuners/tda18271-fe.c
parentc0d7564793091ee443a25335a54f0956a53e8815 (diff)
downloadmediapointer-dvb-s2-dba8a3703b87ab030d5b6c4c5933f5aa3493e2dd.tar.gz
mediapointer-dvb-s2-dba8a3703b87ab030d5b6c4c5933f5aa3493e2dd.tar.bz2
tda18271: add debug to show which standby mode is in use
From: Michael Krufky <mkrufky@kernellabs.com> 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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/common/tuners/tda18271-fe.c b/linux/drivers/media/common/tuners/tda18271-fe.c
index d28454a7b..ecb70a245 100644
--- a/linux/drivers/media/common/tuners/tda18271-fe.c
+++ b/linux/drivers/media/common/tuners/tda18271-fe.c
@@ -1020,13 +1020,16 @@ static int tda18271_sleep(struct dvb_frontend *fe)
switch (priv->standby_mode) {
case TDA18271_STANDBY_POWER_OFF:
+ tda_dbg("standby mode: power off\n");
ret = tda18271_set_standby_mode(fe, 1, 1, 1);
break;
case TDA18271_STANDBY_XT_ON:
+ tda_dbg("standby mode: xtal oscillator on\n");
ret = tda18271_set_standby_mode(fe, 1, 1, 0);
break;
case TDA18271_STANDBY_LT_XT_ON:
default:
+ tda_dbg("standby mode: loop thru & xtal oscillator on\n");
ret = tda18271_set_standby_mode(fe, 1, 0, 0);
}