summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-st.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-10-18 09:16:28 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-10-31 21:25:15 +0100
commitc35e7790dcbe74b0c85f4c26bbe7e15510422684 (patch)
tree975f95f7bb8aef5710e78eccfb50948d9db810f3 /drivers/pinctrl/pinctrl-st.c
parentpinctrl: iproc: Fix iProc and NSP GPIO support (diff)
downloadlinux-c35e7790dcbe74b0c85f4c26bbe7e15510422684.tar.xz
linux-c35e7790dcbe74b0c85f4c26bbe7e15510422684.zip
pinctrl: st: don't specify default interrupt trigger
Thanks to 332e99d5ae4 which now alerts of default trigger usage when configuring interrupts. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-st.c')
-rw-r--r--drivers/pinctrl/pinctrl-st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index 99da4cf91031..b7bb37167969 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -1512,7 +1512,7 @@ static int st_gpiolib_register_bank(struct st_pinctrl *info,
if (info->irqmux_base || gpio_irq > 0) {
err = gpiochip_irqchip_add(&bank->gpio_chip, &st_gpio_irqchip,
0, handle_simple_irq,
- IRQ_TYPE_LEVEL_LOW);
+ IRQ_TYPE_NONE);
if (err) {
gpiochip_remove(&bank->gpio_chip);
dev_info(dev, "could not add irqchip\n");