mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch 03/20] V4L(901) Added function for nxt200x to change pll input
@ 2005-11-07  2:58 mchehab
  0 siblings, 0 replies; only message in thread
From: mchehab @ 2005-11-07  2:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, video4linux-list, Kirk Lapray

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]

From: Kirk Lapray <kirk.lapray@gmail.com>

- Added function for nxt200x to change pll input

Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>

-----------------

 drivers/media/video/cx88/cx88-dvb.c |   10 ++++++++++
 1 files changed, 10 insertions(+)

--- hg.orig/drivers/media/video/cx88/cx88-dvb.c
+++ hg/drivers/media/video/cx88/cx88-dvb.c
@@ -296,10 +296,20 @@ static int nxt200x_set_ts_param(struct d
 	return 0;
 }
 
+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 ati_hdtvwonder = {
 	.demod_address    = 0x0a,
 	.pll_address      = 0x61,
 	.pll_desc         = &dvb_pll_tuv1236d,
+	.set_pll_input    = nxt200x_set_pll_input,
 	.set_ts_params    = nxt200x_set_ts_param,
 };
 #endif


	

	
		
_______________________________________________________ 
Yahoo! Acesso Grátis: Internet rápida e grátis. 
Instale o discador agora!
http://br.acesso.yahoo.com/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-07  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-07  2:58 [Patch 03/20] V4L(901) Added function for nxt200x to change pll input mchehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®