Thread (1 message) 1 message, 1 author, 2015-06-02

Re: [PATCH 2/2] gpio: xlp: GPIO controller for Netlogic XLP SoCs

From: Linus Walleij <hidden>
Date: 2015-06-02 11:23:22

On Thu, May 28, 2015 at 5:51 PM, Kamlakant Patel
[off-list ref] wrote:
[Me]
quoted
Any place where the GPIO IRQ line is connected to a higher-order
IRQ controller this should be done like so...
We are not able to use gpiochip_set_chained_irqchip() because the current
implementation of parent irq_chip(arch/mips/netlogic/common/irq.c) uses
handler_data instead of chip_data.
That sounds like a bug.
I am testing a patch which changes parent irq_chip to use chip_data instead
of handler_data. I will send out a this pacth once tested and a patch
for gpio driver with gpiochip_set_chained_irqchip implementation.
Awesome, thanks Kamlakant, that sounds like the right fix.

After that you should be able to use GPIOLIB_IRQCHIP.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help