diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2009-08-28 19:53:30 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@kernellabs.com> | 2009-08-28 19:53:30 -0400 |
commit | c6a49f4f5a1192199df66b7c1ccfe881071ee845 (patch) | |
tree | f07573e9f6a6daf98402d46f946dc666dc001407 /linux | |
parent | dba8a3703b87ab030d5b6c4c5933f5aa3493e2dd (diff) | |
download | mediapointer-dvb-s2-c6a49f4f5a1192199df66b7c1ccfe881071ee845.tar.gz mediapointer-dvb-s2-c6a49f4f5a1192199df66b7c1ccfe881071ee845.tar.bz2 |
tda18271: add new standby mode: slave tuner output / loop thru on
From: Michael Krufky <mkrufky@kernellabs.com>
Add new standby mode:
TDA18271_STANDBY_LT_ON = slave tuner output loop thru on w/ xtal osc off
Priority: normal
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/common/tuners/tda18271-fe.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/common/tuners/tda18271.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/common/tuners/tda18271-fe.c b/linux/drivers/media/common/tuners/tda18271-fe.c index ecb70a245..086ca7339 100644 --- a/linux/drivers/media/common/tuners/tda18271-fe.c +++ b/linux/drivers/media/common/tuners/tda18271-fe.c @@ -1027,6 +1027,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"); diff --git a/linux/drivers/media/common/tuners/tda18271.h b/linux/drivers/media/common/tuners/tda18271.h index 9ca716f6b..bf6ba099a 100644 --- a/linux/drivers/media/common/tuners/tda18271.h +++ b/linux/drivers/media/common/tuners/tda18271.h @@ -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, }; |