aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/common
diff options
context:
space:
mode:
authorStefan Ringel <linuxtv@stefanringel.de>2011-12-17 16:57:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-05 11:06:12 -0200
commiteeecd0caaf9ce13ecd34187efae993d59a156135 (patch)
treef0da077294b601714c8f27f05413ed50614d2cdc /drivers/media/common
parent3308e2b53a6737d28782c89e6d2dd80237fde3e3 (diff)
[media] mt2063: fix get_if_frequency call
[mchehab@redhat.com: patch rebased to apply] Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/mt2063.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/mt2063.c b/drivers/media/common/tuners/mt2063.c
index 98020a90508..c89af3cd5eb 100644
--- a/drivers/media/common/tuners/mt2063.c
+++ b/drivers/media/common/tuners/mt2063.c
@@ -2199,7 +2199,7 @@ static int mt2063_get_if_frequency(struct dvb_frontend *fe, u32 *freq)
if (!state->init)
return -ENODEV;
- *freq = state->reference * 1000;
+ *freq = state->AS_Data.f_out;
dprintk(1, "IF frequency: %d\n", *freq);