Thread (8 messages) flat view 8 messages, 4 authors, 2007-08-02

Re: GPIO interrupts on mpc8313e

From: Domen Puncer <hidden>
Date: 2007-08-02 06:11:51

On 01/08/07 13:36 -0500, Scott Wood wrote:
On Wed, Aug 01, 2007 at 02:45:05PM +0300, Yoni Levin wrote:
quoted
request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);
                         ^^^^^^^^^^^^^

Did you try removing that flag (or calling enable_irq())?
From interrupt.h:
38  * IRQF_DISABLED - keep irqs disabled when calling the action handler

quoted
irq_create_mapping(NULL,74);
request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);
Request irq should use virq that irq_create_mapping returns.

Maybe there's another "enable global GPIO interrupts" register, that
needs to be set too?


	Domen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help