[media] mt2063: fix get_if_frequency call
authorStefan Ringel <linuxtv@stefanringel.de>
Sat, 17 Dec 2011 19:57:15 +0000 (16:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 13:06:12 +0000 (11:06 -0200)
[mchehab@redhat.com: patch rebased to apply]
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/mt2063.c

index 98020a90508d3586197fbde95af05584f34ab771..c89af3cd5ebaba5b3e3cdbad1a32ea2886a30512 100644 (file)
@@ -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);