Re: [PATCH v2 30/31] staging: comedi: ni_pcidio: request_irq() before seting up subdevices

2013-12-06 Thread Ian Abbott
On 2013-12-05 20:43, H Hartley Sweeten wrote: Do the request_irq() before setting up the subdevices. Only hook up the command support of the irq was sucessfully requested. Note that, because of the IRQF_SHARED flag, nidio_interrupt() _may_ be called before the device is ready and the subdevices

RE: [PATCH v2 30/31] staging: comedi: ni_pcidio: request_irq() before seting up subdevices

2013-12-06 Thread Hartley Sweeten
On Friday, December 06, 2013 3:34 AM, Ian Abbott wrote: On 2013-12-05 20:43, H Hartley Sweeten wrote: [snip] +irq = mite_irq(devpriv-mite); +if (irq) { +ret = request_irq(irq, nidio_interrupt, IRQF_SHARED, + dev-board_name, dev); +