diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2009-08-28 17:52:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:13:40 -0400 |
commit | 72c8364a662b7e995f86931dcb768b77bc44bca5 (patch) | |
tree | 01056874065ce9c9de149876d4b8cc10905f220f /drivers/media/common | |
parent | 81259f210ef09c6e6e643c7cecc803a7083f970e (diff) |
V4L/DVB (12862): tda18271: add debug to show which standby mode is in use
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/tuners/tda18271-fe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c index 64b935f91577..dece8b67b993 100644 --- a/drivers/media/common/tuners/tda18271-fe.c +++ b/drivers/media/common/tuners/tda18271-fe.c | |||
@@ -1019,13 +1019,16 @@ static int tda18271_sleep(struct dvb_frontend *fe) | |||
1019 | 1019 | ||
1020 | switch (priv->standby_mode) { | 1020 | switch (priv->standby_mode) { |
1021 | case TDA18271_STANDBY_POWER_OFF: | 1021 | case TDA18271_STANDBY_POWER_OFF: |
1022 | tda_dbg("standby mode: power off\n"); | ||
1022 | ret = tda18271_set_standby_mode(fe, 1, 1, 1); | 1023 | ret = tda18271_set_standby_mode(fe, 1, 1, 1); |
1023 | break; | 1024 | break; |
1024 | case TDA18271_STANDBY_XT_ON: | 1025 | case TDA18271_STANDBY_XT_ON: |
1026 | tda_dbg("standby mode: xtal oscillator on\n"); | ||
1025 | ret = tda18271_set_standby_mode(fe, 1, 1, 0); | 1027 | ret = tda18271_set_standby_mode(fe, 1, 1, 0); |
1026 | break; | 1028 | break; |
1027 | case TDA18271_STANDBY_LT_XT_ON: | 1029 | case TDA18271_STANDBY_LT_XT_ON: |
1028 | default: | 1030 | default: |
1031 | tda_dbg("standby mode: loop thru & xtal oscillator on\n"); | ||
1029 | ret = tda18271_set_standby_mode(fe, 1, 0, 0); | 1032 | ret = tda18271_set_standby_mode(fe, 1, 0, 0); |
1030 | } | 1033 | } |
1031 | 1034 | ||