diff options
Diffstat (limited to 'drivers/media/common/tuners/mt2060.c')
-rw-r--r-- | drivers/media/common/tuners/mt2060.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/mt2060.c b/drivers/media/common/tuners/mt2060.c index 12206d75dd4e..c7abe3d8f90e 100644 --- a/drivers/media/common/tuners/mt2060.c +++ b/drivers/media/common/tuners/mt2060.c | |||
@@ -278,7 +278,7 @@ static void mt2060_calibrate(struct mt2060_priv *priv) | |||
278 | while (i++ < 10 && mt2060_readreg(priv, REG_MISC_STAT, &b) == 0 && (b & (1 << 6)) == 0) | 278 | while (i++ < 10 && mt2060_readreg(priv, REG_MISC_STAT, &b) == 0 && (b & (1 << 6)) == 0) |
279 | msleep(20); | 279 | msleep(20); |
280 | 280 | ||
281 | if (i < 10) { | 281 | if (i <= 10) { |
282 | mt2060_readreg(priv, REG_FM_FREQ, &priv->fmfreq); // now find out, what is fmreq used for :) | 282 | mt2060_readreg(priv, REG_FM_FREQ, &priv->fmfreq); // now find out, what is fmreq used for :) |
283 | dprintk("calibration was successful: %d", (int)priv->fmfreq); | 283 | dprintk("calibration was successful: %d", (int)priv->fmfreq); |
284 | } else | 284 | } else |