From: Antti Palosaari Date: Sun, 13 Nov 2011 03:22:33 +0000 (-0300) Subject: [media] tda18218: fix 6 MHz default IF frequency X-Git-Tag: next-20111128~55^2~1^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d7d89dc85b9ec0e94f16e811d5f440106e2e77c0;p=karo-tx-linux.git [media] tda18218: fix 6 MHz default IF frequency Default IF for 6 MHz bandwidth is 3 MHz. Use that. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/common/tuners/tda18218.c b/drivers/media/common/tuners/tda18218.c index aacfe2387e28..4fc29730a12c 100644 --- a/drivers/media/common/tuners/tda18218.c +++ b/drivers/media/common/tuners/tda18218.c @@ -141,7 +141,7 @@ static int tda18218_set_params(struct dvb_frontend *fe, switch (params->u.ofdm.bandwidth) { case BANDWIDTH_6_MHZ: LP_Fc = 0; - LO_Frac = params->frequency + 4000000; + LO_Frac = params->frequency + 3000000; break; case BANDWIDTH_7_MHZ: LP_Fc = 1;