diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-06 22:33:08 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:03:18 -0500 |
commit | 14e3c152a14cb96b5f584d3885d2aedf1a1353fc (patch) | |
tree | f469c1585c360103e7eee0fb546569e82ceabe57 /drivers/media | |
parent | 4a56eb3f535f92b0585aa01dba05b3f17a547df0 (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.c | 3 |
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 e8f4ac2325da..aecc0a5ac7b3 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, | |||
584 | __FUNCTION__); | 584 | __FUNCTION__); |
585 | return -EINVAL; | 585 | return -EINVAL; |
586 | } | 586 | } |
587 | #if 0 | ||
588 | /* userspace request is already center adjusted */ | ||
587 | freq += 1750000; /* Adjust to center (+1.75MHZ) */ | 589 | freq += 1750000; /* Adjust to center (+1.75MHZ) */ |
590 | #endif | ||
588 | bw = 6000000; | 591 | bw = 6000000; |
589 | } else if (fe->ops.info.type == FE_OFDM) { | 592 | } else if (fe->ops.info.type == FE_OFDM) { |
590 | switch (params->u.ofdm.bandwidth) { | 593 | switch (params->u.ofdm.bandwidth) { |