summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-11-13 04:22:33 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 20:52:09 +0100
commitd7d89dc85b9ec0e94f16e811d5f440106e2e77c0 (patch)
treee660943f6636067c4398d4ac031df7aee99a393d
parent[media] af9015: limit I2C access to keep FW happy (diff)
downloadlinux-d7d89dc85b9ec0e94f16e811d5f440106e2e77c0.tar.xz
linux-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;