diff options
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-fe.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index eb44ab71ff74..2bbf277f5cfc 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c | |||
@@ -305,8 +305,8 @@ static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq) | |||
305 | /* set the internal calibration signal */ | 305 | /* set the internal calibration signal */ |
306 | N = freq; | 306 | N = freq; |
307 | 307 | ||
308 | tda18271_calc_main_pll(fe, N); | 308 | tda18271_calc_cal_pll(fe, N); |
309 | tda18271_write_regs(fe, R_MPD, 4); | 309 | tda18271_write_regs(fe, R_CPD, 4); |
310 | 310 | ||
311 | /* downconvert internal calibration */ | 311 | /* downconvert internal calibration */ |
312 | N += 1000000; | 312 | N += 1000000; |
@@ -331,7 +331,7 @@ static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq) | |||
331 | regs[R_EB7] &= ~0x20; | 331 | regs[R_EB7] &= ~0x20; |
332 | tda18271_write_regs(fe, R_EB7, 1); | 332 | tda18271_write_regs(fe, R_EB7, 1); |
333 | 333 | ||
334 | msleep(5); /* plls locking */ | 334 | msleep(10); /* plls locking */ |
335 | 335 | ||
336 | /* launch the rf tracking filters calibration */ | 336 | /* launch the rf tracking filters calibration */ |
337 | regs[R_EB20] |= 0x20; | 337 | regs[R_EB20] |= 0x20; |