GPIO IRQ on P1022

Tabi Timur-B04825 B04825 at freescale.com
Sun Jul 31 23:59:20 EST 2011


Felix Radensky wrote:
>
>      What happens when I load my driver is single execution of interrupt
> handler
>      followed by system freeze. Even if I call disable_irq() in interrupt
> handler the
>      system still freezes.

I don't know anything about the GPIO layer, but I think you're going to 
need to debug this a little more.  Where exactly is the freeze?  Are you 
sure the interrupt handler is being called only once?  Perhaps you're not 
clearing the interrupt status and your handler is being called repeatedly?

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list