From: George Cherian Date: Fri, 23 May 2014 05:57:27 +0000 (+0530) Subject: gpio: pcf857x: Add IRQF_SHARED when request irq X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5795cf35030bfa180a6f5c948681821f7019fc18;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git gpio: pcf857x: Add IRQF_SHARED when request irq It's quite possible that multiple pcf857x can be hooked up to the same interrupt line with the processor. So add IRQF_SHARED in request irq.. Signed-off-by: George Cherian Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c index 5acffed10e77..27b46751ea7e 100644 --- a/drivers/gpio/gpio-pcf857x.c +++ b/drivers/gpio/gpio-pcf857x.c @@ -262,7 +262,7 @@ static int pcf857x_irq_domain_init(struct pcf857x *gpio, /* enable real irq */ status = devm_request_threaded_irq(&client->dev, client->irq, NULL, pcf857x_irq, IRQF_ONESHOT | - IRQF_TRIGGER_FALLING, + IRQF_TRIGGER_FALLING | IRQF_SHARED, dev_name(&client->dev), gpio); if (status)