All of lore.kernel.org
 help / color / mirror / Atom feed
* question in request_threaded_irq
@ 2011-08-13 19:25 radhika bhaskaran
  2011-08-14  1:01 ` Javier Martinez Canillas
  0 siblings, 1 reply; 5+ messages in thread
From: radhika bhaskaran @ 2011-08-13 19:25 UTC (permalink / raw)
  To: kernelnewbies

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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-23  5:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-13 19:25 question in request_threaded_irq radhika bhaskaran
2011-08-14  1:01 ` Javier Martinez Canillas
2011-08-15 11:03   ` radhika bhaskaran
2011-08-15 15:10     ` Javier Martinez Canillas
2011-08-23  5:26     ` Haojian Zhuang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.