]> err.no Git - linux-2.6/commitdiff
V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards
authorJose Alberto Reguero <jareguero@telefonica.net>
Mon, 11 Sep 2006 07:34:31 +0000 (04:34 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:36 +0000 (12:30 -0300)
While converting the configuration for the old DiB3000MC-module to the new one
a wrong AGC configuration was introduced.
This is using the old one again.

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/dibusb-common.c

index ead1f7a4dc008eb74eeda50e7a60d21a9adf82af..124e25ac53b3ce625660ed6819a2d92833fe1ab8 100644 (file)
@@ -199,24 +199,24 @@ static struct dib3000mc_config stk3000p_dib3000p_config = {
 };
 
 static struct dibx000_agc_config dib3000p_panasonic_agc_config = {
-       .setup     = (0 << 15) | (0 << 14) | (1 << 13) | (1 << 12) | (29 << 0),
+       .setup    = (0 << 15) | (0 << 14) | (1 << 13) | (1 << 12) | (29 << 0),
 
        .agc1_max = 56361,
        .agc1_min = 22282,
-       .agc2_max = 43254,
+       .agc2_max = 47841,
        .agc2_min = 36045,
 
-       .agc1_pt1 = 0x65,
-       .agc1_pt2 = 0xff,
+       .agc1_pt1 = 0x3b,
+       .agc1_pt2 = 0x6b,
 
-       .agc1_slope1 = 0x40,
-       .agc1_slope2 = 0xff,
+       .agc1_slope1 = 0x55,
+       .agc1_slope2 = 0x1d,
 
        .agc2_pt1 = 0,
-       .agc2_pt2 = 0x8a,
+       .agc2_pt2 = 0x0a,
 
-       .agc2_slope1 = 0x11,
-       .agc2_slope2 = 0x14,
+       .agc2_slope1 = 0x95,
+       .agc2_slope2 = 0x1e,
 };
 
 static struct dib3000mc_config mod3000p_dib3000p_config = {