aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-05-05 11:15:57 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:23:14 -0400
commit4abe9f9d94e60303c30b1a9bbbc8e6532f6138cb (patch)
treec71ff23ff82c19edadddca9aed2b00b43bf6f18a /drivers/media/video/saa7134
parent77d675047062d514acdc1bbe9f84658b39f99abe (diff)
V4L/DVB (5633): Tuv1236d: move rf input switching code into dvb-pll
This patch removes duplicate code from cx88-dvb and saa7134-dvb that handles rf input switching for the TUV1236d tuner. The functionality is added to dvb-pll, where all the other code that handles the TUV1236d is kept. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.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, 0 insertions, 10 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index d6dd6d55b595..1f50a481de2c 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -956,18 +956,8 @@ static struct nxt200x_config avertvhda180 = {
956 .demod_address = 0x0a, 956 .demod_address = 0x0a,
957}; 957};
958 958
959static int nxt200x_set_pll_input(u8 *buf, int input)
960{
961 if (input)
962 buf[3] |= 0x08;
963 else
964 buf[3] &= ~0x08;
965 return 0;
966}
967
968static struct nxt200x_config kworldatsc110 = { 959static struct nxt200x_config kworldatsc110 = {
969 .demod_address = 0x0a, 960 .demod_address = 0x0a,
970 .set_pll_input = nxt200x_set_pll_input,
971}; 961};
972 962
973/* ================================================================== 963/* ==================================================================