diff options
| author | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-07 02:00:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-07 02:00:08 -0800 |
| commit | a94273a1dbb8fa311afd2e341da0b5842e41af10 (patch) | |
| tree | 9a7867a8aa7d37e72d00ea0626892ba19f0f2314 | |
| parent | 3434a16eeb959c35762b82997847d9af816102fa (diff) | |
Fix ttpci bogus use of floating point by casting the
constant expression properly.
| -rw-r--r-- | drivers/media/dvb/ttpci/av7110.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index ea26eac35df7..eed2b5b12958 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c @@ -2673,9 +2673,9 @@ static int tuner_set_tv_freq (struct saa7146_dev *dev, u32 freq) buf[1] = div & 0xff; buf[2] = 0x8e; - if (freq < (u32) 16*168.25 ) + if (freq < (u32) (16*168.25) ) config = 0xa0; - else if (freq < (u32) 16*447.25) + else if (freq < (u32) (16*447.25) ) config = 0x90; else config = 0x30; |
