summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-04-17 23:40:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-15 15:28:45 -0800
commit42ddc36a02c01afb397e60489223cc3d82e6942d (patch)
tree32da98e11eccd57eaa91d1271811e4eaa7dd3efc /drivers/gpio
parentbc77a313b995bdd4c8806593326ffea8d01ec7bc (diff)
downloadlinux-3.10-42ddc36a02c01afb397e60489223cc3d82e6942d.tar.gz
linux-3.10-42ddc36a02c01afb397e60489223cc3d82e6942d.tar.bz2
linux-3.10-42ddc36a02c01afb397e60489223cc3d82e6942d.zip
gpio-rcar: R-Car GPIO IRQ share interrupt
commit c234962b808f289237a40e4ce5fc1c8066d1c9d0 upstream. R-Car H1 or Gen2 GPIO interrupts are assigned per each GPIO domain, but, Gen1 E1/M1 GPIO interrupts are shared for all GPIO domain. gpio-rcar driver needs IRQF_SHARED flags for these. This patch was tested on Bock-W board Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-rcar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index c45ad478f46..f3c5d39f138 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -333,7 +333,7 @@ static int gpio_rcar_probe(struct platform_device *pdev)
}
if (devm_request_irq(&pdev->dev, irq->start,
- gpio_rcar_irq_handler, 0, name, p)) {
+ gpio_rcar_irq_handler, IRQF_SHARED, name, p)) {
dev_err(&pdev->dev, "failed to request IRQ\n");
ret = -ENOENT;
goto err1;