diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-05-05 11:15:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:23:14 -0400 |
commit | 4abe9f9d94e60303c30b1a9bbbc8e6532f6138cb (patch) | |
tree | c71ff23ff82c19edadddca9aed2b00b43bf6f18a /drivers/media/video/cx88/cx88-dvb.c | |
parent | 77d675047062d514acdc1bbe9f84658b39f99abe (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/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 770ea64369ef..420c25f53bca 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -366,18 +366,8 @@ static int nxt200x_set_ts_param(struct dvb_frontend* fe, int is_punctured) | |||
366 | return 0; | 366 | return 0; |
367 | } | 367 | } |
368 | 368 | ||
369 | static int nxt200x_set_pll_input(u8* buf, int input) | ||
370 | { | ||
371 | if (input) | ||
372 | buf[3] |= 0x08; | ||
373 | else | ||
374 | buf[3] &= ~0x08; | ||
375 | return 0; | ||
376 | } | ||
377 | |||
378 | static struct nxt200x_config ati_hdtvwonder = { | 369 | static struct nxt200x_config ati_hdtvwonder = { |
379 | .demod_address = 0x0a, | 370 | .demod_address = 0x0a, |
380 | .set_pll_input = nxt200x_set_pll_input, | ||
381 | .set_ts_params = nxt200x_set_ts_param, | 371 | .set_ts_params = nxt200x_set_ts_param, |
382 | }; | 372 | }; |
383 | 373 | ||