I mean interrupts managed by the same irq_handler()

Gabriele

Da: Jadav, Brijesh R [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 15 ottobre 2008 16.05
A: Gabriele Filosofi; [email protected]
Oggetto: RE: How to prevent other interrupts to occour during interrupt handling

Hi,

I think you can use enable_irq/disable_irq to enable/disable a particular 
interrupt or local_irq_save and local_irq_restore to prevent all interrupt to 
occur. Can you tell me what you mean by other interrupts of the same type?

Thanks,
Brijesh Jadav
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriele Filosofi
Sent: Wednesday, October 15, 2008 6:30 PM
To: [email protected]
Subject: How to prevent other interrupts to occour during interrupt handling

Hi,

after having enabled an interrupt source with

request_irq(gpio_to_irq(37), &irq_handler, IRQF_TRIGGER_FALLING, "myirq", NULL);

how to prevent other interrupts (of the same type) to occour during 
irq_handler() processing?
I would like to disable the interrupt only for the irq_handler() execution time.

Thanks and regards
(sorry for this questioni if too simple!)

Gabriele


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to