[linux-dvb] [PATCH] tda1004x driver update, part 2 of 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all

This is part 2 of the tda1004x driver patch. It requires part 1.
It introduces the new parameters of the tda1004x_config struct to
the following DVB-T board drivers:
- budget-av
- budget-ci
- pluto2
The patch for pluto2 is mandatory, one parameter changed its name.
 
	Signed-off-by: Hartmut Hackmann <hartmut.hackmann@xxxxxxxxxxx

>----------------------------- snip ----------------------------<
diff -uprN dvb-kernel/linux/drivers/media/dvb/ttpci/budget-av.c dvb-kernel-new/linux/drivers/media/dvb/ttpci/budget-av.c
--- dvb-kernel/linux/drivers/media/dvb/ttpci/budget-av.c	2005-04-05 00:50:50.000000000 +0200
+++ dvb-kernel-new/linux/drivers/media/dvb/ttpci/budget-av.c	2005-05-10 23:37:30.000000000 +0200
@@ -695,8 +695,12 @@ static struct tda1004x_config philips_tu
 	.demod_address = 0x8,
 	.invert = 1,
 	.invert_oclk = 1,
+	.xtal_freq = TDA10046_XTAL_4M,
+	.agc_config = TDA10046_AGC_DEFAULT,
+	.if_freq = TDA10046_FREQ_3617,
 	.pll_init = philips_tu1216_pll_init,
 	.pll_set = philips_tu1216_pll_set,
+	.pll_sleep = NULL,
 	.request_firmware = philips_tu1216_request_firmware,
 };
 
diff -uprN dvb-kernel/linux/drivers/media/dvb/ttpci/budget-ci.c dvb-kernel-new/linux/drivers/media/dvb/ttpci/budget-ci.c
--- dvb-kernel/linux/drivers/media/dvb/ttpci/budget-ci.c	2005-03-17 04:16:12.000000000 +0100
+++ dvb-kernel-new/linux/drivers/media/dvb/ttpci/budget-ci.c	2005-05-10 23:37:40.000000000 +0200
@@ -838,8 +838,12 @@ static struct tda1004x_config philips_td
 	.demod_address = 0x8,
 	.invert = 0,
 	.invert_oclk = 0,
+	.xtal_freq = TDA10046_XTAL_4M,
+	.agc_config = TDA10046_AGC_DEFAULT,
+	.if_freq = TDA10046_FREQ_3617,
 	.pll_init = philips_tdm1316l_pll_init,
 	.pll_set = philips_tdm1316l_pll_set,
+	.pll_sleep = NULL,
 	.request_firmware = philips_tdm1316l_request_firmware,
 };
 
diff -uprN dvb-kernel/linux/drivers/media/dvb/pluto2/pluto2.c dvb-kernel-new/linux/drivers/media/dvb/pluto2/pluto2.c
--- dvb-kernel/linux/drivers/media/dvb/pluto2/pluto2.c	2005-05-08 23:39:59.000000000 +0200
+++ dvb-kernel-new/linux/drivers/media/dvb/pluto2/pluto2.c	2005-05-11 21:48:13.000000000 +0200
@@ -484,8 +484,12 @@ static int pluto2_request_firmware(struc
 static struct tda1004x_config pluto2_fe_config __devinitdata = {
 	.demod_address = I2C_ADDR_TDA10046 >> 1,
 	.invert = 1,
-	.n_i2c = 3,
+	.invert_oclk = 0,
+	.xtal_freq = TDA10046_XTAL_16M,
+	.agc_config = TDA10046_AGC_DEFAULT,
+	.if_freq = TDA10046_FREQ_3617,
 	.pll_set = lg_tdtpe001p_pll_set,
+	.pll_sleep = NULL,
 	.request_firmware = pluto2_request_firmware,
 };
 



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux