summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-09-11 09:34:31 +0200
committerPatrick Boettcher <pb@linuxtv.org>2006-09-11 09:34:31 +0200
commit191b9679bf1035ca9d79808b895ac87151c91583 (patch)
tree7b8274a1405136c024bfc8722f68525b3f3aea9a /linux/drivers/media/dvb
parent30543fad4b2bd50f892fb1543cdec79fd8901201 (diff)
downloadmediapointer-dvb-s2-191b9679bf1035ca9d79808b895ac87151c91583.tar.gz
mediapointer-dvb-s2-191b9679bf1035ca9d79808b895ac87151c91583.tar.bz2
Fix AGC configuration for MOD3000P-based boards
From: Jose Alberto Reguero <jareguero@telefonica.net> 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>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dibusb-common.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
index ead1f7a4d..124e25ac5 100644
--- a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
+++ b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
@@ -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 = {