diff options
author | Andreas Eversberg <andreas@eversberg.eu> | 2008-10-11 08:13:29 +0200 |
---|---|---|
committer | Karsten Keil <kkeil@suse.de> | 2009-01-09 22:44:29 +0100 |
commit | 400fd9783e7374bdf73b9cee9d7b90e35e3007da (patch) | |
tree | a91634d74632c2326094fc055f1e77f5aa9c7533 /drivers/isdn/mISDN/dsp_core.c | |
parent | b36b654a7e82308cea063cdf909a7f246105c2a3 (diff) | |
download | lwn-400fd9783e7374bdf73b9cee9d7b90e35e3007da.tar.gz lwn-400fd9783e7374bdf73b9cee9d7b90e35e3007da.zip |
mISDN: Minor cleanups
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Diffstat (limited to 'drivers/isdn/mISDN/dsp_core.c')
-rw-r--r-- | drivers/isdn/mISDN/dsp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c index c16cb7ac3d2a..7e60cb94b5c0 100644 --- a/drivers/isdn/mISDN/dsp_core.c +++ b/drivers/isdn/mISDN/dsp_core.c @@ -1141,7 +1141,7 @@ static int dsp_init(void) } else { poll = 8; while (poll <= MAX_POLL) { - tics = poll * HZ / 8000; + tics = (poll * HZ) / 8000; if (tics * 8000 == poll * HZ) { dsp_tics = tics; dsp_poll = poll; |