diff options
author | Michael Krufky <devnull@localhost> | 2005-11-02 05:09:16 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-11-02 05:09:16 +0000 |
commit | 97eea1343469eec752b922e907edffc79377f9e4 (patch) | |
tree | 58e691def2516644c04144b53178cce290118eb1 /linux/drivers/media/dvb/frontends/nxt200x.c | |
parent | 78d9d8d6f3eed0bedcd580997441a4154eb0caf2 (diff) | |
download | mediapointer-dvb-s2-97eea1343469eec752b922e907edffc79377f9e4.tar.gz mediapointer-dvb-s2-97eea1343469eec752b922e907edffc79377f9e4.tar.bz2 |
- Added function for nxt200x to change pll input
- For VSB set to input 0, for QAM set to input 1
- will only be set for cards that have set_pll_input defined
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/nxt200x.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/nxt200x.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/nxt200x.c b/linux/drivers/media/dvb/frontends/nxt200x.c index 8c3eb74c2..75450fee2 100644 --- a/linux/drivers/media/dvb/frontends/nxt200x.c +++ b/linux/drivers/media/dvb/frontends/nxt200x.c @@ -556,13 +556,18 @@ static int nxt200x_setup_frontend_parameters (struct dvb_frontend* fe, if (state->config->set_ts_params) state->config->set_ts_params(fe, 1); - /* set to use cable input */ - buf[3] |= 0x08; + /* set input */ + if (state->config->set_pll_input) + state->config->set_pll_input(buf, 1); break; case VSB_8: /* Set non-punctured clock for VSB */ if (state->config->set_ts_params) state->config->set_ts_params(fe, 0); + + /* set input */ + if (state->config->set_pll_input) + state->config->set_pll_input(buf, 0); break; default: return -EINVAL; |