projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61aafc8
)
added a little printk for when request_irq fails
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 14 Jan 2002 22:37:41 +0000
(22:37 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 14 Jan 2002 22:37:41 +0000
(22:37 +0000)
comedi/drivers/dt282x.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/dt282x.c
b/comedi/drivers/dt282x.c
index a5342ccefdb97a0d458ccd12d9f4b7e8436ef459..fad42ba67c2c49fa65b14b5e4d131c1fbb0c4d13 100644
(file)
--- a/
comedi/drivers/dt282x.c
+++ b/
comedi/drivers/dt282x.c
@@
-1247,7
+1247,10
@@
static int dt282x_attach(comedi_device * dev, comedi_devconfig * it)
if (irq > 0) {
printk(" ( irq = %d )", irq);
ret = comedi_request_irq(irq, dt282x_interrupt, 0, "dt282x", dev);
- if(ret<0)return -EIO;
+ if(ret<0) {
+ printk(" failed to get irq\n");
+ return -EIO;
+ }
dev->irq = irq;
} else if (irq == 0) {
printk(" (no irq)");