Commit eeecd0ca authored by Stefan Ringel's avatar Stefan Ringel Committed by Mauro Carvalho Chehab

[media] mt2063: fix get_if_frequency call

[mchehab@redhat.com: patch rebased to apply]
Signed-off-by: default avatarStefan Ringel <linuxtv@stefanringel.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3308e2b5
...@@ -2199,7 +2199,7 @@ static int mt2063_get_if_frequency(struct dvb_frontend *fe, u32 *freq) ...@@ -2199,7 +2199,7 @@ static int mt2063_get_if_frequency(struct dvb_frontend *fe, u32 *freq)
if (!state->init) if (!state->init)
return -ENODEV; return -ENODEV;
*freq = state->reference * 1000; *freq = state->AS_Data.f_out;
dprintk(1, "IF frequency: %d\n", *freq); dprintk(1, "IF frequency: %d\n", *freq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment