]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6745): tda18271: remove tuning offset for atsc/qam
authorMichael Krufky <mkrufky@linuxtv.org>
Fri, 7 Dec 2007 03:33:08 +0000 (00:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:18 +0000 (19:03 -0200)
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>
drivers/media/dvb/frontends/tda18271-fe.c

index e8f4ac2325da6193ab239050c237435b21b94293..aecc0a5ac7b38e4ac292a3095a97f8afa12d57db 100644 (file)
@@ -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) {