Thread (5 messages) 5 messages, 3 authors, 2011-08-23

question in request_threaded_irq

flat view

From: radhika bhaskaran <hidden>
Date: 2011-08-13 19:25:59

Hi,

I have a question with respect to request_threaded_irq.

Assume that one driver has registered and ISR on some particular irq number.

Can i use the same irq number and register and isr in another driver.
Because that is my requirement.

when i try to do that is an error message with an error no as -19.

 err = request_threaded_irq(pdata->irq , NULL, testing_fucntion,
                            IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
"testing_function", dev);

Can some one please help me whether it is possible.

Regards,
RB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110814/76644a99/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help