diff options
author | Michael Krufky <devnull@localhost> | 2005-11-02 05:11:17 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-11-02 05:11:17 +0000 |
commit | b53255819b26c80b4e8f1f85efd3f663b369a1f7 (patch) | |
tree | 5f368572f28c4325fa53f7d72be1e0e5adb733d9 /linux/drivers/media/video | |
parent | 97eea1343469eec752b922e907edffc79377f9e4 (diff) | |
download | mediapointer-dvb-s2-b53255819b26c80b4e8f1f85efd3f663b369a1f7.tar.gz mediapointer-dvb-s2-b53255819b26c80b4e8f1f85efd3f663b369a1f7.tar.bz2 |
- Added function for nxt200x to change pll input
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dvb.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index c0f0c3800..cc7aebd8c 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-dvb.c,v 1.71 2005/10/27 04:33:27 mkrufky Exp $ + * $Id: cx88-dvb.c,v 1.72 2005/11/02 05:11:17 mkrufky Exp $ * * device driver for Conexant 2388x based TV cards * MPEG Transport Stream (DVB) routines @@ -302,10 +302,20 @@ static int nxt200x_set_ts_param(struct dvb_frontend* fe, return 0; } +static int nxt200x_set_pll_input(u8* buf, int input) +{ + if (input) + buf[3] |= 0x08; + else + buf[3] &= ~0x08; + return 0; +} + static struct nxt200x_config ati_hdtvwonder = { .demod_address = 0x0a, .pll_address = 0x61, .pll_desc = &dvb_pll_tuv1236d, + .set_pll_input = nxt200x_set_pll_input, .set_ts_params = nxt200x_set_ts_param, }; #endif |