From 35ca3f61617db77364e40c1977952c5ee0a776cb Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Thu, 24 Nov 2016 13:27:54 +0100 Subject: gpio: set explicit nesting on drivers The ADNP, CrystalCove and WhiskeyCove are all nested GPIO irqchips, but were avoiding to connect the parent IRQ to the gpiochip. This works, but is kind of sloppy as the child IRQs are not marked as having the parent IRQ as parent. Cc: Mika Westerberg Cc: Ajay Thomas Cc: Bin Gao Signed-off-by: Linus Walleij --- drivers/gpio/gpio-crystalcove.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpio/gpio-crystalcove.c') diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c index d0022d655a09..2197368cc899 100644 --- a/drivers/gpio/gpio-crystalcove.c +++ b/drivers/gpio/gpio-crystalcove.c @@ -362,6 +362,8 @@ static int crystalcove_gpio_probe(struct platform_device *pdev) return retval; } + gpiochip_set_nested_irqchip(&cg->chip, &crystalcove_irqchip, irq); + return 0; } -- cgit v1.2.3