Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (11057): Fix CiMax stability in Netup Dual DVB-S2 CI

It appears TS discontinuity about one per 10 hrs if CAM used.
Patch to fix it.

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Abylay Ospan and committed by
Mauro Carvalho Chehab
e9d4a6d5 f1bee699

+4 -2
+1 -1
drivers/media/dvb/frontends/stv0900_core.c
··· 250 250 } 251 251 252 252 msleep(3); 253 - for (i = 0; i < 180; i++) 253 + for (i = 0; i < 182; i++) 254 254 stv0900_write_reg(i_params, STV0900_InitVal[i][0], STV0900_InitVal[i][1]); 255 255 256 256 if (stv0900_read_reg(i_params, R0900_MID) >= 0x20) {
+3 -1
drivers/media/dvb/frontends/stv0900_init.h
··· 217 217 { STV0900_32APSK, 0x1B, 0x1E, 0x1B, 0x1E, 0x1B, 0x1E, 0x3A, 0x3D, 0x2A, 0x2D } 218 218 }; 219 219 220 - static const u16 STV0900_InitVal[180][2] = { 220 + static const u16 STV0900_InitVal[182][2] = { 221 221 { R0900_OUTCFG , 0x00 }, 222 222 { R0900_MODECFG , 0xff }, 223 223 { R0900_AGCRF1CFG , 0x11 }, ··· 396 396 { R0900_DATA72CFG , 0x52 }, 397 397 { R0900_P1_TSCFGM , 0xc0 }, 398 398 { R0900_P2_TSCFGM , 0xc0 }, 399 + { R0900_P1_TSCFGH , 0xe0 }, /* DVB-CI timings */ 400 + { R0900_P2_TSCFGH , 0xe0 }, /* DVB-CI timings */ 399 401 { R0900_P1_TSSPEED , 0x40 }, 400 402 { R0900_P2_TSSPEED , 0x40 }, 401 403 };