[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>
diff --git a/drivers/media/common/tuners/mt2063.c b/drivers/media/common/tuners/mt2063.c
index 98020a9..c89af3c 100644
--- a/drivers/media/common/tuners/mt2063.c
+++ b/drivers/media/common/tuners/mt2063.c
@@ -2199,7 +2199,7 @@
if (!state->init)
return -ENODEV;
- *freq = state->reference * 1000;
+ *freq = state->AS_Data.f_out;
dprintk(1, "IF frequency: %d\n", *freq);