diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/common/tuners/tda18271-fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c index 916a6e15086..64595112000 100644 --- a/drivers/media/common/tuners/tda18271-fe.c +++ b/drivers/media/common/tuners/tda18271-fe.c | |||
@@ -292,7 +292,7 @@ static int tda18271c2_rf_tracking_filters_correction(struct dvb_frontend *fe, | |||
292 | tda18271_lookup_map(fe, RF_CAL_DC_OVER_DT, &freq, &dc_over_dt); | 292 | tda18271_lookup_map(fe, RF_CAL_DC_OVER_DT, &freq, &dc_over_dt); |
293 | 293 | ||
294 | /* calculate temperature compensation */ | 294 | /* calculate temperature compensation */ |
295 | rfcal_comp = dc_over_dt * (tm_current - priv->tm_rfcal); | 295 | rfcal_comp = dc_over_dt * (tm_current - priv->tm_rfcal) / 1000; |
296 | 296 | ||
297 | regs[R_EB14] = approx + rfcal_comp; | 297 | regs[R_EB14] = approx + rfcal_comp; |
298 | ret = tda18271_write_regs(fe, R_EB14, 1); | 298 | ret = tda18271_write_regs(fe, R_EB14, 1); |