>Sent: Friday, October 10, 2008 5:15 PM
>To: Steve Sakoman; David Brownell; [email protected] List
>Subject: RE: Git tree updated to v2.6.27, some issues remain
>
>>>>> Anything else not working right now?
>>>>
>>>> MUSB on Overo...
>>>
>
>Theory 2:
>When I debug on LDP board, I can see the failure happening in request_irq()
>
>In T2-probe:
>       request_irq( ... )
>               ...
>               if (irq_desc[irq].status & IRQ_NOREQUEST)
>                       return -EINVAL; >>>> code returns from here !!!
>               ...

This patch fixes the T2-probe request_irq() issue:

diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index 5983926..57cad7e 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -159,7 +159,7 @@ void __init omap_init_irq(void)
        printk(KERN_INFO "Total of %ld interrupts on %d active controller%s\n",
               nr_irqs, nr_banks, nr_banks > 1 ? "s" : "");
 
-       for (i = 0; i < nr_irqs; i++) {
+       for (i = 0; i < NR_IRQS; /*nr_irqs;*/ i++) {
                set_irq_chip(i, &omap_irq_chip);
                set_irq_handler(i, handle_level_irq);
                set_irq_flags(i, IRQF_VALID);

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to