summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-04-09 23:46:10 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-17 02:25:24 +0200
commitf60f5bcbe47d1a7c83b278740d22482a49a70269 (patch)
treeb16949b98bea55979d47c3b589f7ac5d16479ee2 /drivers/media
parent[media] rtl820t: Add a debug msg when PLL gets locked (diff)
downloadlinux-f60f5bcbe47d1a7c83b278740d22482a49a70269.tar.xz
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')
-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)