Commit 72c8364a authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (12862): tda18271: add debug to show which standby mode is in use

Signed-off-by: default avatarMichael Krufky <mkrufky@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 81259f21
...@@ -1019,13 +1019,16 @@ static int tda18271_sleep(struct dvb_frontend *fe) ...@@ -1019,13 +1019,16 @@ static int tda18271_sleep(struct dvb_frontend *fe)
switch (priv->standby_mode) { switch (priv->standby_mode) {
case TDA18271_STANDBY_POWER_OFF: case TDA18271_STANDBY_POWER_OFF:
tda_dbg("standby mode: power off\n");
ret = tda18271_set_standby_mode(fe, 1, 1, 1); ret = tda18271_set_standby_mode(fe, 1, 1, 1);
break; break;
case TDA18271_STANDBY_XT_ON: case TDA18271_STANDBY_XT_ON:
tda_dbg("standby mode: xtal oscillator on\n");
ret = tda18271_set_standby_mode(fe, 1, 1, 0); ret = tda18271_set_standby_mode(fe, 1, 1, 0);
break; break;
case TDA18271_STANDBY_LT_XT_ON: case TDA18271_STANDBY_LT_XT_ON:
default: default:
tda_dbg("standby mode: loop thru & xtal oscillator on\n");
ret = tda18271_set_standby_mode(fe, 1, 0, 0); ret = tda18271_set_standby_mode(fe, 1, 0, 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment