diff options
author | Curt Meyers <cmeyers@boilerbots.com> | 2006-09-16 23:30:22 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-09-16 23:30:22 +0200 |
commit | b9909e4e4037fd8169cb7ebfcfb20163187e53dd (patch) | |
tree | bd14f61e11ccb87a726ef8776f891d0ced372e3b | |
parent | 89fe0ebcaf0f2c4776acb3ba7f702860324651f0 (diff) |
V4L/DVB: KWorld ATSC110: implement set_pll_input
- When tuning VSB, use ANT input
- When tuning QAM, use CABLE input
Signed-off-by: Curt Meyers <cmeyers@boilerbots.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 97e91f0a2fe..5969481ed4f 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c @@ -932,10 +932,20 @@ static struct nxt200x_config avertvhda180 = { .pll_desc = &dvb_pll_tdhu2, }; +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 kworldatsc110 = { .demod_address = 0x0a, .pll_address = 0x61, .pll_desc = &dvb_pll_tuv1236d, + .set_pll_input = nxt200x_set_pll_input, }; #endif |