projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d63d2
)
me4000: In xilinx_download(), correct test for /INIT pin being set during
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Nov 2009 10:59:13 +0000
(10:59 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Nov 2009 10:59:13 +0000
(10:59 +0000)
initialization. Parentheses were missing.
comedi/drivers/me4000.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/me4000.c
b/comedi/drivers/me4000.c
index c865b6157b233d2efe77bbd8803fad9859d10334..5da6e50209ee45c6909c62dfe51417720afa1423 100644
(file)
--- a/
comedi/drivers/me4000.c
+++ b/
comedi/drivers/me4000.c
@@
-782,7
+782,7
@@
static int xilinx_download(comedi_device * dev)
/* Wait until /INIT pin is set */
udelay(20);
- if (!
inl(info->plx_regbase + PLX_INTCSR) & 0x20
) {
+ if (!
(inl(info->plx_regbase + PLX_INTCSR) & 0x20)
) {
printk(KERN_ERR
"comedi%d: me4000: xilinx_download(): Can't init Xilinx\n",
dev->minor);