]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] r820t: Fix IF scale
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 9 Apr 2013 21:46:10 +0000 (18:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 17 Apr 2013 00:25:24 +0000 (21:25 -0300)
Scale used at get_if_freq and LO freq calculus is Hz.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
drivers/media/tuners/r820t.c

index 1821cf192642f23ca4fa77b0828d9de9455ef156..2ecf1d2ab82f564dd5f41942b270ef22207a4796 100644 (file)
@@ -975,7 +975,7 @@ static int r820t_set_tv_standard(struct r820t_priv *priv,
                        return rc;
                msleep(1);
        }
-       priv->int_freq = if_khz;
+       priv->int_freq = if_khz * 1000;
 
        /* Check if standard changed. If so, filter calibration is needed */
        if (type != priv->type)