On Thu, May 28, 2015 at 5:51 PM, Kamlakant Patel
<[email protected]> wrote:
> [Me]
>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to