summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-04-09 21:46:10 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-17 00:25:24 (GMT)
commitf60f5bcbe47d1a7c83b278740d22482a49a70269 (patch)
treeb16949b98bea55979d47c3b589f7ac5d16479ee2
parentda31934fb87dbe907d2ea77f300313f280792d8d (diff)
downloadlinux-f60f5bcbe47d1a7c83b278740d22482a49a70269.tar.xz
[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>
-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 1821cf1..2ecf1d2 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)