diff options
-rw-r--r-- | linux/drivers/media/dvb/frontends/grundig_29504-401.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/grundig_29504-401.c b/linux/drivers/media/dvb/frontends/grundig_29504-401.c index eb1eda396..0e7f13886 100644 --- a/linux/drivers/media/dvb/frontends/grundig_29504-401.c +++ b/linux/drivers/media/dvb/frontends/grundig_29504-401.c @@ -114,10 +114,10 @@ int tsa5060_set_tv_freq (struct dvb_i2c_bus *i2c, u32 freq) div = (36125000 + freq) / 166666; cfg = 0x88; - cpump = div < 175000 ? 2 : div < 390000 ? 1 : - div < 470000 ? 2 : div < 750000 ? 1 : 3; + cpump = div < 175000000 ? 2 : div < 390000000 ? 1 : + div < 470000000 ? 2 : div < 750000000 ? 1 : 3; - band_select = div < 175000 ? 0x0e : div < 470000 ? 0x05 : 0x03; + band_select = div < 175000000 ? 0x0e : div < 470000000 ? 0x05 : 0x03; buf [0] = (div >> 8) & 0x7f; buf [1] = div & 0xff; |