Commit fce7fcc785998d91a4e2293ec6c0fa7a4677999b

Authored by Patrice CHOTARD
Committed by Linus Walleij
1 parent 96d16c3088

pinctrl: st: Add irq_disable hook to st_gpio_irqchip

Currently disable_irq() doesn't work for pinctrl-st driver, due to
missing irq_disable hook in the driver.
disable_irq() is required only for level-triggered interrupts, which
is not the case normally.

Signed-off-by: Pankaj Dev <pankaj.dev@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/pinctrl/pinctrl-st.c
... ... @@ -1445,6 +1445,7 @@
1445 1445  
1446 1446 static struct irq_chip st_gpio_irqchip = {
1447 1447 .name = "GPIO",
  1448 + .irq_disable = st_gpio_irq_mask,
1448 1449 .irq_mask = st_gpio_irq_mask,
1449 1450 .irq_unmask = st_gpio_irq_unmask,
1450 1451 .irq_set_type = st_gpio_irq_set_type,