]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/hardware/mISDN/hfcpci.c
mISDN: Minor cleanups
[linux-2.6-omap-h63xx.git] / drivers / isdn / hardware / mISDN / hfcpci.c
index 8df12bf02af390665b8fdee60c56cd9bc9c9e543..2db06490b1ac179e7ce01cfd00981d6afea35c08 100644 (file)
@@ -2333,10 +2333,10 @@ HFC_init(void)
                poll = HFCPCI_BTRANS_THRESHOLD;
 
        if (poll != HFCPCI_BTRANS_THRESHOLD) {
-               tics = poll * HZ / 8000;
+               tics = (poll * HZ) / 8000;
                if (tics < 1)
                        tics = 1;
-               poll = tics * 8000 / HZ;
+               poll = (tics * 8000) / HZ;
                if (poll > 256 || poll < 8) {
                        printk(KERN_ERR "%s: Wrong poll value %d not in range "
                                "of 8..256.\n", __func__, poll);