summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-02-15 02:19:47 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2006-02-15 02:19:47 -0500
commitd43a1962bbd1dacaf9925f2ec777dfd9f1513d17 (patch)
treead558375496a11e1d0580350a75511175a229ee0 /linux/drivers/media/video/saa7134
parentdfb24e8039e0a173886ee48d1259d9d3925a1ca8 (diff)
downloadmediapointer-dvb-s2-d43a1962bbd1dacaf9925f2ec777dfd9f1513d17.tar.gz
mediapointer-dvb-s2-d43a1962bbd1dacaf9925f2ec777dfd9f1513d17.tar.bz2
KWorld ATSC110: implement set_pll_input
From: Curt Meyers <cmeyers@boilerbots.com> - 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>
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index d405b954d..d1f88d974 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -930,10 +930,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