[PATCH 2/3] ARM: Orion: Bind the orion bridge interrupt controller through DT
Jason Gunthorpe
jgunthorpe at obsidianresearch.com
Tue Dec 11 01:58:13 EST 2012
> > + bridge_irq = irq_of_parse_and_map(np, 0);
> > + /* FIXME: irq_of_parse_and_map returns 0 on error, but on Dove the
> > + * bridge IRQ is 0.
> > + if (!bridge_irq)
> > + return -ENODEV;*/
> > +
> > + return orion_bridge_irq_init(bridge_irq, -1, base, np);
>
> So does this mean for Dove it will currently always fail?
I guess that is hard to read without syntax hi-lighting, the 'if' is
also commented out.
I was hopefull it would work as is, but looking deeper at
irq_of_parse_and_map and its call tree makes me doubtfull now..
Fixing irq_of_parse_and_map is way to big a job for me :(
What to do from here? Add a dummy 0 interrupt to dove? Take dove out
of this patch series?
Jason
More information about the linux-arm-kernel
mailing list