summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-11-13 00:22:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 17:52:09 -0200
commitd7d89dc85b9ec0e94f16e811d5f440106e2e77c0 (patch)
treee660943f6636067c4398d4ac031df7aee99a393d
parentff83bd82cb343d37b5ab8e402aaad9ef33d03f1e (diff)
downloadkernel-common-d7d89dc85b9ec0e94f16e811d5f440106e2e77c0.tar.gz
kernel-common-d7d89dc85b9ec0e94f16e811d5f440106e2e77c0.tar.bz2
kernel-common-d7d89dc85b9ec0e94f16e811d5f440106e2e77c0.zip
[media] tda18218: fix 6 MHz default IF frequency
Default IF for 6 MHz bandwidth is 3 MHz. Use that. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/common/tuners/tda18218.c2
1 files changed, 1 insertions, 1 deletions
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;