From: Stefan Ringel Date: Sat, 17 Dec 2011 19:57:15 +0000 (-0300) Subject: [media] mt2063: fix get_if_frequency call X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eeecd0caaf9ce13ecd34187efae993d59a156135;p=mv-sheeva.git [media] mt2063: fix get_if_frequency call [mchehab@redhat.com: patch rebased to apply] Signed-off-by: Stefan Ringel Signed-off-by: Mauro Carvalho Chehab --- 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);