From: Frank Mori Hess Date: Mon, 14 Jan 2002 22:37:41 +0000 (+0000) Subject: added a little printk for when request_irq fails X-Git-Tag: r0_7_62~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f7555cc72aecab9efda53f863db0c7738b777dcc;p=comedi.git added a little printk for when request_irq fails --- diff --git a/comedi/drivers/dt282x.c b/comedi/drivers/dt282x.c index a5342cce..fad42ba6 100644 --- 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)");