From eeecd0caaf9ce13ecd34187efae993d59a156135 Mon Sep 17 00:00:00 2001 From: Stefan Ringel Date: Sat, 17 Dec 2011 16:57:15 -0300 Subject: [PATCH] [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 --- drivers/media/common/tuners/mt2063.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ 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); -- 2.7.4