[PATCH] gpio: mxs: Allow for recursive enable_irq_wake() call
Linus Walleij
linus.walleij at linaro.org
Thu Apr 10 11:20:46 PDT 2014
On Wed, Apr 9, 2014 at 4:26 PM, Shawn Guo <shawn.guo at freescale.com> wrote:
> On Thu, Mar 27, 2014 at 10:15:27AM +0100, Linus Walleij wrote:
>> I would like someone to look into converting the MXS to use the new
>> gpiolib irqchip helpers merged on my devel branch so we can centralize
>> and get rid of surplus redundant bug fixing everywhere around the drivers.
>>
>> That code does not use generic irqchip, but rather a regular irqchip+domain
>> and explicitly chained interrupt handlers.
>
> No. The driver uses generic irqchip. See function mxs_gpio_init_gc().
Hm I see.
Still I think it should be possible to lift some code into gpiolib also
with generic chips. Must be some elegant refactoring lurking
here...
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list