summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
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
parentda31934fb87dbe907d2ea77f300313f280792d8d (diff)
downloadop-kernel-dev-f60f5bcbe47d1a7c83b278740d22482a49a70269.zip
op-kernel-dev-f60f5bcbe47d1a7c83b278740d22482a49a70269.tar.gz
[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')
-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)
OpenPOWER on IntegriCloud