diff options
author | Jose Alberto Reguero <jareguero@telefonica.net> | 2006-09-11 03:34:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 11:30:36 -0400 |
commit | 5ab6b267e5684452e229c58f4a5ba9f267866d42 (patch) | |
tree | b88ca79630266aa525e20de6c516014a0178d94a | |
parent | 6386828cb1748ba466e3d9df5d650ffeab937fd2 (diff) |
V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards
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>
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-common.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-common.c b/drivers/media/dvb/dvb-usb/dibusb-common.c index ead1f7a4dc00..124e25ac53b3 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-common.c +++ b/drivers/media/dvb/dvb-usb/dibusb-common.c | |||
@@ -199,24 +199,24 @@ static struct dib3000mc_config stk3000p_dib3000p_config = { | |||
199 | }; | 199 | }; |
200 | 200 | ||
201 | static struct dibx000_agc_config dib3000p_panasonic_agc_config = { | 201 | static struct dibx000_agc_config dib3000p_panasonic_agc_config = { |
202 | .setup = (0 << 15) | (0 << 14) | (1 << 13) | (1 << 12) | (29 << 0), | 202 | .setup = (0 << 15) | (0 << 14) | (1 << 13) | (1 << 12) | (29 << 0), |
203 | 203 | ||
204 | .agc1_max = 56361, | 204 | .agc1_max = 56361, |
205 | .agc1_min = 22282, | 205 | .agc1_min = 22282, |
206 | .agc2_max = 43254, | 206 | .agc2_max = 47841, |
207 | .agc2_min = 36045, | 207 | .agc2_min = 36045, |
208 | 208 | ||
209 | .agc1_pt1 = 0x65, | 209 | .agc1_pt1 = 0x3b, |
210 | .agc1_pt2 = 0xff, | 210 | .agc1_pt2 = 0x6b, |
211 | 211 | ||
212 | .agc1_slope1 = 0x40, | 212 | .agc1_slope1 = 0x55, |
213 | .agc1_slope2 = 0xff, | 213 | .agc1_slope2 = 0x1d, |
214 | 214 | ||
215 | .agc2_pt1 = 0, | 215 | .agc2_pt1 = 0, |
216 | .agc2_pt2 = 0x8a, | 216 | .agc2_pt2 = 0x0a, |
217 | 217 | ||
218 | .agc2_slope1 = 0x11, | 218 | .agc2_slope1 = 0x95, |
219 | .agc2_slope2 = 0x14, | 219 | .agc2_slope2 = 0x1e, |
220 | }; | 220 | }; |
221 | 221 | ||
222 | static struct dib3000mc_config mod3000p_dib3000p_config = { | 222 | static struct dib3000mc_config mod3000p_dib3000p_config = { |