projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05315a
)
bug fix from zharkov@vista-control.com (Eugene Zharkov)
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 18 Jul 2004 00:40:18 +0000
(
00:40
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 18 Jul 2004 00:40:18 +0000
(
00:40
+0000)
comedi/drivers/ni_6527.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_6527.c
b/comedi/drivers/ni_6527.c
index a2d9b7b6e44d82068249e5645367a503a8b790e0..1b94f0cf9b6378f3bfe80b01fcb149de0f911803 100644
(file)
--- a/
comedi/drivers/ni_6527.c
+++ b/
comedi/drivers/ni_6527.c
@@
-204,8
+204,8
@@
static irqreturn_t ni6527_interrupt(int irq, void *d, struct pt_regs *regs)
unsigned int status;
status = readb(dev->iobase + Change_Status);
- if(
!status&MasterInterruptStatus)
return IRQ_NONE;
- if(
!status&EdgeStatus)
return IRQ_NONE;
+ if(
(status & MasterInterruptStatus) == 0)
return IRQ_NONE;
+ if(
(status & EdgeStatus) == 0)
return IRQ_NONE;
writeb(ClrEdge | ClrOverflow, dev->iobase + Clear_Register);