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

V4L/DVB (12863): tda18271: add new standby mode: slave tuner output / loop thru on

Add new standby mode:
TDA18271_STANDBY_LT_ON = slave tuner output loop thru on w/ xtal osc off
Signed-off-by: default avatarMichael Krufky <mkrufky@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8db7e4b1
...@@ -1026,6 +1026,10 @@ static int tda18271_sleep(struct dvb_frontend *fe) ...@@ -1026,6 +1026,10 @@ static int tda18271_sleep(struct dvb_frontend *fe)
tda_dbg("standby mode: xtal oscillator on\n"); 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_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: case TDA18271_STANDBY_LT_XT_ON:
default: default:
tda_dbg("standby mode: loop thru & xtal oscillator on\n"); tda_dbg("standby mode: loop thru & xtal oscillator on\n");
......
...@@ -74,6 +74,9 @@ enum tda18271_standby_mode { ...@@ -74,6 +74,9 @@ enum tda18271_standby_mode {
/* xtal oscillator on */ /* xtal oscillator on */
TDA18271_STANDBY_XT_ON, TDA18271_STANDBY_XT_ON,
/* slave tuner output / loop thru on */
TDA18271_STANDBY_LT_ON,
/* power off */ /* power off */
TDA18271_STANDBY_POWER_OFF, TDA18271_STANDBY_POWER_OFF,
}; };
......
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