diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index c8ab1fda1dea..8eb9a537970a 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c | |||
@@ -586,6 +586,11 @@ static int tda18271_calc_rf_filter_curve(struct dvb_frontend *fe) | |||
586 | static int tda18271_rf_cal_init(struct dvb_frontend *fe) | 586 | static int tda18271_rf_cal_init(struct dvb_frontend *fe) |
587 | { | 587 | { |
588 | struct tda18271_priv *priv = fe->tuner_priv; | 588 | struct tda18271_priv *priv = fe->tuner_priv; |
589 | unsigned char *regs = priv->tda18271_regs; | ||
590 | |||
591 | /* test RF_CAL_OK to see if we need init */ | ||
592 | if ((regs[R_EP1] & 0x10) == 0) | ||
593 | priv->cal_initialized = false; | ||
589 | 594 | ||
590 | if (priv->cal_initialized) | 595 | if (priv->cal_initialized) |
591 | return 0; | 596 | return 0; |