diff options
author | Patrick Boettcher <devnull@localhost> | 2004-12-31 12:46:26 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2004-12-31 12:46:26 +0000 |
commit | 880b3cc594609fb88486f6287f97947c0e304393 (patch) | |
tree | 20c25a77233856f450e95e4c5876ad2c2493025d | |
parent | d30ec107850e72d64456a93ce50a56d13d9e7939 (diff) | |
download | mediapointer-dvb-s2-880b3cc594609fb88486f6287f97947c0e304393.tar.gz mediapointer-dvb-s2-880b3cc594609fb88486f6287f97947c0e304393.tar.bz2 |
calculation for the tuner was wrong, .5 freq suffered, we need a pll library... :) happy new year
-rw-r--r-- | linux/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c index 1d5cecd6b..863835692 100644 --- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c +++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c @@ -207,7 +207,7 @@ int panasonic_cofdm_env57h1xd5_pll_set(struct dvb_frontend *fe, struct struct usb_dibusb* dib = (struct usb_dibusb*) fe->dvb->priv; u8 buf[4]; u32 freq = params->frequency; - u32 tfreq = (freq + 36125000) / 1000000 * 6 + 1; + u32 tfreq = ((freq + 36125000)*6 + 500000) / 1000000; u8 TA, T210, R210, ctrl1, cp210, p4321; struct i2c_msg msg = { .addr = dib->dibdev->parm->pll_addr, |