From: Alexander Stein Date: Mon, 17 Nov 2014 08:38:09 +0000 (+0100) Subject: gpio: mcp23s08: request a shared interrupt X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9c0b04bcb3abc8e5dc0731b9b9eabd4a217960c0;p=openwrt%2Fstaging%2Fblogic.git gpio: mcp23s08: request a shared interrupt Request a shared interrupt when requesting a mcp23s08 GPIO interrupt. Signed-off-by: Alexander Stein Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-mcp23s08.c b/drivers/gpio/gpio-mcp23s08.c index 1ac7de85da8b..6589438dad57 100644 --- a/drivers/gpio/gpio-mcp23s08.c +++ b/drivers/gpio/gpio-mcp23s08.c @@ -485,7 +485,8 @@ static int mcp23s08_irq_setup(struct mcp23s08 *mcp) return -ENODEV; err = devm_request_threaded_irq(chip->dev, mcp->irq, NULL, mcp23s08_irq, - IRQF_TRIGGER_LOW | IRQF_ONESHOT, + IRQF_TRIGGER_LOW | IRQF_ONESHOT | + IRQF_SHARED, dev_name(chip->dev), mcp); if (err != 0) { dev_err(chip->dev, "unable to request IRQ#%d: %d\n",