Re: [PATCH] gpio: unmap gpio irqs properly

2014-03-31 Thread Linus Walleij
On Sat, Mar 29, 2014 at 5:27 PM, Alexandre Courbot gnu...@gmail.com wrote: On Sat, Mar 29, 2014 at 4:44 AM, Linus Walleij linus.wall...@linaro.org wrote: +static void gpiochip_irq_unmap(struct irq_domain *d, unsigned int irq) +{ +#ifdef CONFIG_ARM + set_irq_flags(irq, 0); +#endif

Re: [PATCH] gpio: unmap gpio irqs properly

2014-03-29 Thread Alexandre Courbot
On Sat, Mar 29, 2014 at 4:44 AM, Linus Walleij linus.wall...@linaro.org wrote: When using the irqchip helper inside the gpiolib, make sure the IRQs are unmapped/disposed before the irqdomain is removed as part of removing the gpiochip. Acked-by: Alexandre Courbot acour...@nvidia.com