projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc4f4c9
)
add error message when request_irq fails
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 27 Apr 2005 00:17:00 +0000
(
00:17
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 27 Apr 2005 00:17:00 +0000
(
00:17
+0000)
comedi/drivers/ni_atmio16d.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_atmio16d.c
b/comedi/drivers/ni_atmio16d.c
index cd38a0a5641ba412ac0408ca8498824a8e36400e..6bb043409d77a8d211f995007a988ecbc9e2a8ae 100644
(file)
--- a/
comedi/drivers/ni_atmio16d.c
+++ b/
comedi/drivers/ni_atmio16d.c
@@
-731,7
+731,10
@@
static int atmio16d_attach(comedi_device * dev, comedi_devconfig * it)
if(irq>0){
if((ret=comedi_request_irq(irq,atmio16d_interrupt,
0, "atmio16d", dev))<0)
+ {
+ printk("failed to allocate irq %d\n", irq);
return ret;
+ }
dev->irq=irq;
printk("( irq = %d )\n",irq);
} else if(irq == 0){