Skip to content

Commit

Permalink
V4L/DVB (12862): tda18271: add debug to show which standby mode is in…
Browse files Browse the repository at this point in the history
… use

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Sep 19, 2009
1 parent 81259f2 commit 72c8364
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/media/common/tuners/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,13 +1019,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);
}

Expand Down

0 comments on commit 72c8364

Please sign in to comment.