Skip to contentSkip to conversation

V4L(901) Added function for nxt200x to change pll input

PATCH New [email protected] 1 participant 1 message Nov 7, 2005 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 3/20 V4L(901) Added function for nxt200x to change pll input

From: Kirk Lapray <[email protected]>

- Added function for nxt200x to change pll input

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

 drivers/media/video/cx88/cx88-dvb.c |   10 ++++++++++
 1 files changed, 10 insertions(+)
drivers/media/video/cx88/cx88-dvb.c +10 -0
@@ -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/