aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/frontends/stv0900_core.c2
-rw-r--r--drivers/media/dvb/frontends/stv0900_init.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stv0900_core.c b/drivers/media/dvb/frontends/stv0900_core.c
index da414b12247f..8499bcf7f251 100644
--- a/drivers/media/dvb/frontends/stv0900_core.c
+++ b/drivers/media/dvb/frontends/stv0900_core.c
@@ -250,7 +250,7 @@ enum fe_stv0900_error stv0900_initialize(struct stv0900_internal *i_params)
250 } 250 }
251 251
252 msleep(3); 252 msleep(3);
253 for (i = 0; i < 180; i++) 253 for (i = 0; i < 182; i++)
254 stv0900_write_reg(i_params, STV0900_InitVal[i][0], STV0900_InitVal[i][1]); 254 stv0900_write_reg(i_params, STV0900_InitVal[i][0], STV0900_InitVal[i][1]);
255 255
256 if (stv0900_read_reg(i_params, R0900_MID) >= 0x20) { 256 if (stv0900_read_reg(i_params, R0900_MID) >= 0x20) {
diff --git a/drivers/media/dvb/frontends/stv0900_init.h b/drivers/media/dvb/frontends/stv0900_init.h
index fa8dbe197bd6..ff388b47a4e3 100644
--- a/drivers/media/dvb/frontends/stv0900_init.h
+++ b/drivers/media/dvb/frontends/stv0900_init.h
@@ -217,7 +217,7 @@ static const struct stv0900_short_frames_car_loop_optim FE_STV0900_S2ShortCarLoo
217 { STV0900_32APSK, 0x1B, 0x1E, 0x1B, 0x1E, 0x1B, 0x1E, 0x3A, 0x3D, 0x2A, 0x2D } 217 { STV0900_32APSK, 0x1B, 0x1E, 0x1B, 0x1E, 0x1B, 0x1E, 0x3A, 0x3D, 0x2A, 0x2D }
218}; 218};
219 219
220static const u16 STV0900_InitVal[180][2] = { 220static const u16 STV0900_InitVal[182][2] = {
221 { R0900_OUTCFG , 0x00 }, 221 { R0900_OUTCFG , 0x00 },
222 { R0900_MODECFG , 0xff }, 222 { R0900_MODECFG , 0xff },
223 { R0900_AGCRF1CFG , 0x11 }, 223 { R0900_AGCRF1CFG , 0x11 },
@@ -396,6 +396,8 @@ static const u16 STV0900_InitVal[180][2] = {
396 { R0900_DATA72CFG , 0x52 }, 396 { R0900_DATA72CFG , 0x52 },
397 { R0900_P1_TSCFGM , 0xc0 }, 397 { R0900_P1_TSCFGM , 0xc0 },
398 { R0900_P2_TSCFGM , 0xc0 }, 398 { R0900_P2_TSCFGM , 0xc0 },
399 { R0900_P1_TSCFGH , 0xe0 }, /* DVB-CI timings */
400 { R0900_P2_TSCFGH , 0xe0 }, /* DVB-CI timings */
399 { R0900_P1_TSSPEED , 0x40 }, 401 { R0900_P1_TSSPEED , 0x40 },
400 { R0900_P2_TSSPEED , 0x40 }, 402 { R0900_P2_TSSPEED , 0x40 },
401}; 403};