summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-06 22:33:08 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2007-12-06 22:33:08 -0500
commit5dc775e127d360434ec57d546ec496877e2448d6 (patch)
tree478f73b0b8c2ad25b9a8ed21423408f8e77ff570 /linux/drivers/media/dvb
parent43fd2de310f83597e5a832b8cd8476631bd9e21b (diff)
downloadmediapointer-dvb-s2-5dc775e127d360434ec57d546ec496877e2448d6.tar.gz
mediapointer-dvb-s2-5dc775e127d360434ec57d546ec496877e2448d6.tar.bz2
tda18271: remove tuning offset for atsc/qam
From: Michael Krufky <mkrufky@linuxtv.org> 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>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/tda18271-fe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271-fe.c b/linux/drivers/media/dvb/frontends/tda18271-fe.c
index 579229f3d..d90fc2ebc 100644
--- a/linux/drivers/media/dvb/frontends/tda18271-fe.c
+++ b/linux/drivers/media/dvb/frontends/tda18271-fe.c
@@ -590,7 +590,10 @@ static int tda18271_set_params(struct dvb_frontend *fe,
__FUNCTION__);
return -EINVAL;
}
+#if 0 /* keep */
+ /* 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) {