aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda10023.c
diff options
context:
space:
mode:
authorHartmut Birr <e9hack@googlemail.com>2007-08-08 23:01:51 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:04:40 -0400
commita18255bef2a62632ed442fdb90b091193cbabca5 (patch)
treebb6fa7843ea138f265d3f1ccb640816392683fa2 /drivers/media/dvb/frontends/tda10023.c
parent8509a29ec6050a03d88f2da59fc2e361f6c16534 (diff)
V4L/DVB (5985): Fix the min/max frequencies of some DVB-C frontends
The min frequencies of the DVB-C frontends are wrong. In Europe, the center frequency of the lowest channel is 50.5MHz and not 51MHz. All known cards with the stv0297/tda0002x/ves1820 frontend are able to tune to this frequency. I've changed the range to the lowest channel - 1/2 bandwidth and the highest channel + 1/2 bandwidth. For the design of the dvb driver, the frequency ranges must be part of the tuner and not of the frontend itself. The same frontend may be used for different tuners. The attached patch does only fix the ranges and not the design. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda10023.c')
-rw-r--r--drivers/media/dvb/frontends/tda10023.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/tda10023.c b/drivers/media/dvb/frontends/tda10023.c
index a00cf0f54efc..364bc01971a0 100644
--- a/drivers/media/dvb/frontends/tda10023.c
+++ b/drivers/media/dvb/frontends/tda10023.c
@@ -500,8 +500,8 @@ static struct dvb_frontend_ops tda10023_ops = {
500 .name = "Philips TDA10023 DVB-C", 500 .name = "Philips TDA10023 DVB-C",
501 .type = FE_QAM, 501 .type = FE_QAM,
502 .frequency_stepsize = 62500, 502 .frequency_stepsize = 62500,
503 .frequency_min = 51000000, 503 .frequency_min = 47000000,
504 .frequency_max = 858000000, 504 .frequency_max = 862000000,
505 .symbol_rate_min = (SYSCLK/2)/64, /* SACLK/64 == (SYSCLK/2)/64 */ 505 .symbol_rate_min = (SYSCLK/2)/64, /* SACLK/64 == (SYSCLK/2)/64 */
506 .symbol_rate_max = (SYSCLK/2)/4, /* SACLK/4 */ 506 .symbol_rate_max = (SYSCLK/2)/4, /* SACLK/4 */
507 .caps = 0x400 | //FE_CAN_QAM_4 507 .caps = 0x400 | //FE_CAN_QAM_4