Skip to content

Commit

Permalink
V4L/DVB (12863): tda18271: add new standby mode: slave tuner output /…
Browse files Browse the repository at this point in the history
… loop thru on

Add new standby mode:
TDA18271_STANDBY_LT_ON = slave tuner output loop thru on w/ xtal osc off

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 72c8364 commit 2dfca76
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/media/common/tuners/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,10 @@ static int tda18271_sleep(struct dvb_frontend *fe)
tda_dbg("standby mode: xtal oscillator on\n");
ret = tda18271_set_standby_mode(fe, 1, 1, 0);
break;
case TDA18271_STANDBY_LT_ON:
tda_dbg("standby mode: slave tuner output / loop thru on\n");
ret = tda18271_set_standby_mode(fe, 1, 0, 1);
break;
case TDA18271_STANDBY_LT_XT_ON:
default:
tda_dbg("standby mode: loop thru & xtal oscillator on\n");
Expand Down
3 changes: 3 additions & 0 deletions drivers/media/common/tuners/tda18271.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ enum tda18271_standby_mode {
/* xtal oscillator on */
TDA18271_STANDBY_XT_ON,

/* slave tuner output / loop thru on */
TDA18271_STANDBY_LT_ON,

/* power off */
TDA18271_STANDBY_POWER_OFF,
};
Expand Down

0 comments on commit 2dfca76

Please sign in to comment.