diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-23 21:49:15 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-23 21:49:15 +0000 |
commit | 0f011184e443e3ae6c9ba212975e7f1b947e5dd5 (patch) | |
tree | 439aef94619de762fd296ce40a6d0778c5d0f597 /wctdm24xxp.c | |
parent | d42d9db2addd36828b478f5e62eb858e1abacde6 (diff) |
Merged revisions 1936 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r1936 | mattf | 2007-01-23 15:28:14 -0600 (Tue, 23 Jan 2007) | 3 lines
Make sure we don't clear the interrupt before we might have received it in
shared interrupt line scenarios.
........
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1937 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp.c')
-rw-r--r-- | wctdm24xxp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wctdm24xxp.c b/wctdm24xxp.c index 49ad8b6..031f139 100644 --- a/wctdm24xxp.c +++ b/wctdm24xxp.c @@ -1559,7 +1559,6 @@ ZAP_IRQ_HANDLER(wctdm_interrupt) /* Read and clear interrupts */ ints = wctdm_getctl(wc, 0x0028); - wctdm_setctl(wc, 0x0028, ints); if (!ints) #ifdef LINUX26 @@ -1567,6 +1566,9 @@ ZAP_IRQ_HANDLER(wctdm_interrupt) #else return; #endif + + wctdm_setctl(wc, 0x0028, ints); + ints &= wc->intmask; if (ints & 0x00000041) { do { |