Commit d7d89dc8 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] tda18218: fix 6 MHz default IF frequency

Default IF for 6 MHz bandwidth is 3 MHz. Use that.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ff83bd82
...@@ -141,7 +141,7 @@ static int tda18218_set_params(struct dvb_frontend *fe, ...@@ -141,7 +141,7 @@ static int tda18218_set_params(struct dvb_frontend *fe,
switch (params->u.ofdm.bandwidth) { switch (params->u.ofdm.bandwidth) {
case BANDWIDTH_6_MHZ: case BANDWIDTH_6_MHZ:
LP_Fc = 0; LP_Fc = 0;
LO_Frac = params->frequency + 4000000; LO_Frac = params->frequency + 3000000;
break; break;
case BANDWIDTH_7_MHZ: case BANDWIDTH_7_MHZ:
LP_Fc = 1; LP_Fc = 1;
......
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