summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware/mISDN
diff options
context:
space:
mode:
authorAndreas Eversberg <andreas@eversberg.eu>2008-10-11 08:13:29 +0200
committerKarsten Keil <kkeil@suse.de>2009-01-09 22:44:29 +0100
commit400fd9783e7374bdf73b9cee9d7b90e35e3007da (patch)
treea91634d74632c2326094fc055f1e77f5aa9c7533 /drivers/isdn/hardware/mISDN
parentb36b654a7e82308cea063cdf909a7f246105c2a3 (diff)
mISDN: Minor cleanups
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu> Signed-off-by: Karsten Keil <kkeil@suse.de>
Diffstat (limited to 'drivers/isdn/hardware/mISDN')
-rw-r--r--drivers/isdn/hardware/mISDN/hfcpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c
index 8df12bf02af..2db06490b1a 100644
--- a/drivers/isdn/hardware/mISDN/hfcpci.c
+++ b/drivers/isdn/hardware/mISDN/hfcpci.c
@@ -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);