aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorCurt Meyers <cmeyers@boilerbots.com>2006-02-26 22:08:27 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-26 22:08:27 -0500
commitfbc81c072d832a0529bdb710404e7c9dc14f3043 (patch)
treeb2dc08b549bff330073a34be654476bc9bf9cbe6 /drivers/media/video/saa7134
parent3e1410adc7cc9e8511327179b5b86864be17b7f9 (diff)
V4L/DVB (3362): 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>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c10
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 354bbf7a1858..757796259cf9 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -928,10 +928,20 @@ static struct nxt200x_config avertvhda180 = {
928 .pll_desc = &dvb_pll_tdhu2, 928 .pll_desc = &dvb_pll_tdhu2,
929}; 929};
930 930
931static int nxt200x_set_pll_input(u8 *buf, int input)
932{
933 if (input)
934 buf[3] |= 0x08;
935 else
936 buf[3] &= ~0x08;
937 return 0;
938}
939
931static struct nxt200x_config kworldatsc110 = { 940static struct nxt200x_config kworldatsc110 = {
932 .demod_address = 0x0a, 941 .demod_address = 0x0a,
933 .pll_address = 0x61, 942 .pll_address = 0x61,
934 .pll_desc = &dvb_pll_tuv1236d, 943 .pll_desc = &dvb_pll_tuv1236d,
944 .set_pll_input = nxt200x_set_pll_input,
935}; 945};
936#endif 946#endif
937 947