From a9297c6bd9026cf637e4a20b740d082ae4e46989 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Thu, 19 Nov 2009 10:59:13 +0000 Subject: [PATCH] me4000: In xilinx_download(), correct test for /INIT pin being set during initialization. Parentheses were missing. --- comedi/drivers/me4000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/me4000.c b/comedi/drivers/me4000.c index c865b615..5da6e502 100644 --- 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); -- 2.26.2