aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r--drivers/media/tuners/r820t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c
index 0a5f96be08f1..1c23666468cf 100644
--- a/drivers/media/tuners/r820t.c
+++ b/drivers/media/tuners/r820t.c
@@ -1857,9 +1857,9 @@ static int r820t_imr(struct r820t_priv *priv, unsigned imr_mem, bool im_flag)
1857 int reg18, reg19, reg1f; 1857 int reg18, reg19, reg1f;
1858 1858
1859 if (priv->cfg->xtal > 24000000) 1859 if (priv->cfg->xtal > 24000000)
1860 ring_ref = priv->cfg->xtal / 2; 1860 ring_ref = priv->cfg->xtal / 2000;
1861 else 1861 else
1862 ring_ref = priv->cfg->xtal; 1862 ring_ref = priv->cfg->xtal / 1000;
1863 1863
1864 n_ring = 15; 1864 n_ring = 15;
1865 for (n = 0; n < 16; n++) { 1865 for (n = 0; n < 16; n++) {