aboutsummaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-07 00:33:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:03:18 -0200
commit14e3c152a14cb96b5f584d3885d2aedf1a1353fc (patch)
treef469c1585c360103e7eee0fb546569e82ceabe57 /drivers/media
parent4a56eb3f535f92b0585aa01dba05b3f17a547df0 (diff)
V4L/DVB (6745): tda18271: remove tuning offset for atsc/qam
The tuning request coming in from userspace is already center adjusted, so we should not adjust to center (+1.75mhz) within the driver. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/tda18271-fe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c
index e8f4ac2325d..aecc0a5ac7b 100644
--- a/drivers/media/dvb/frontends/tda18271-fe.c
+++ b/drivers/media/dvb/frontends/tda18271-fe.c
@@ -584,7 +584,10 @@ static int tda18271_set_params(struct dvb_frontend *fe,
__FUNCTION__);
return -EINVAL;
}
+#if 0
+ /* userspace request is already center adjusted */
freq += 1750000; /* Adjust to center (+1.75MHZ) */
+#endif
bw = 6000000;
} else if (fe->ops.info.type == FE_OFDM) {
switch (params->u.ofdm.bandwidth) {