Hello Gilles,

I tried the patch and it works!
Did the adeos patch will be updated?

Thanks.
Antoine.

-----Message d'origine-----
De : Gilles Chanteperdrix [mailto:gilles.chanteperd...@xenomai.org] 
Envoyé : mercredi 2 octobre 2013 10:57
À : Antoine MOREL
Cc : xenomai@xenomai.org
Objet : Re: [Xenomai] No GPIO IRQ on imx28(apf28), kernel 3.8.13

On 10/02/2013 08:08 AM, Antoine MOREL wrote:
> I try the same software (file main.c) with and without adeos.
> It works without adeos, and it doesn't work with adeos!
> Did I forget anything to do with adeos?
> The same software can run well with and without adeos?

Please try the following patch:

diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 
fa2a63c..a8c6fe2 100644
--- a/drivers/gpio/gpio-mxs.c
+++ b/drivers/gpio/gpio-mxs.c
@@ -137,7 +137,7 @@ static void mxs_gpio_irq_handler(u32 irq, struct irq_desc 
*desc)
 
        while (irq_stat != 0) {
                int irqoffset = fls(irq_stat) - 1;
-               generic_handle_irq(irq_find_mapping(port->domain, irqoffset));
+               ipipe_handle_demuxed_irq(irq_find_mapping(port->domain, 
irqoffset));
                irq_stat &= ~(1 << irqoffset);
        }
 }



-- 
                                                                Gilles.
_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to