Thread (5 messages) flat view 5 messages, 3 authors, 2008-07-23

Re: Failure of request_irq() for MPC8313 using arch=powerpc

From: Scott Wood <hidden>
Date: 2008-07-22 17:56:40

On Tue, Jul 15, 2008 at 08:43:59PM -0700, Duy-Ky Nguyen wrote:
Hi Dave,

I've just tried it and it failed.
Could you elaborate on exactly what you tried?  Did you pass the GPIO device
tree node?
Before I had tried using the function
int virq = of_irq_to_resource(GPIO_IRQ, 0, NULL);
and it failed the same way
The first argument of of_irq_to_resource is a device node pointer, not an
IRQ number.  Surely the compiler warned you about this.

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