From 3ca8682b7e844390bbee9e29dfe05066b4628d1a Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Wed, 12 Mar 2003 13:23:54 +0000 Subject: setup correct IF, reported by Dennis Noordsij - div = (freq + 36250000 + 31250) / 62500; + div = (freq + 36125000 + 31250) / 62500; --- linux/drivers/media/dvb/frontends/ves1820.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux') diff --git a/linux/drivers/media/dvb/frontends/ves1820.c b/linux/drivers/media/dvb/frontends/ves1820.c index e549331c1..180de0861 100644 --- a/linux/drivers/media/dvb/frontends/ves1820.c +++ b/linux/drivers/media/dvb/frontends/ves1820.c @@ -179,7 +179,7 @@ int tuner_set_tv_freq (struct dvb_frontend *fe, u32 freq) if (tuner_type == 0xff) /* PLL not reachable over i2c ... */ return 0; - div = (freq + 36250000 + 31250) / 62500; + div = (freq + 36125000 + 31250) / 62500; buf[0] = (div >> 8) & 0x7f; buf[1] = div & 0xff; buf[2] = byte3[tuner_type]; -- cgit v1.2.3