summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/r820t.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-04-09 18:46:10 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-16 21:25:24 -0300
commitf60f5bcbe47d1a7c83b278740d22482a49a70269 (patch)
treeb16949b98bea55979d47c3b589f7ac5d16479ee2 /drivers/media/tuners/r820t.c
parentda31934fb87dbe907d2ea77f300313f280792d8d (diff)
downloadlinux-f60f5bcbe47d1a7c83b278740d22482a49a70269.tar.gz
linux-f60f5bcbe47d1a7c83b278740d22482a49a70269.tar.bz2
linux-f60f5bcbe47d1a7c83b278740d22482a49a70269.zip
[media] r820t: Fix IF scale
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>
Diffstat (limited to 'drivers/media/tuners/r820t.c')
-rw-r--r--drivers/media/tuners/r820t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c
index 1821cf192642..2ecf1d2ab82f 100644
--- a/drivers/media/tuners/r820t.c
+++ b/drivers/media/tuners/r820t.c
@@ -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)