aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/sirf/pinctrl-sirf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c
index 53a3bc5ac2dd..b637f5ab022c 100644
--- a/drivers/pinctrl/sirf/pinctrl-sirf.c
+++ b/drivers/pinctrl/sirf/pinctrl-sirf.c
@@ -560,7 +560,7 @@ static int sirfsoc_gpio_irq_type(struct irq_data *d, unsigned type)
560 spin_lock_irqsave(&sgpio_lock, flags); 560 spin_lock_irqsave(&sgpio_lock, flags);
561 561
562 val = readl(bank->chip.regs + offset); 562 val = readl(bank->chip.regs + offset);
563 val &= ~SIRFSOC_GPIO_CTL_INTR_STS_MASK; 563 val &= ~(SIRFSOC_GPIO_CTL_INTR_STS_MASK | SIRFSOC_GPIO_CTL_OUT_EN_MASK);
564 564
565 switch (type) { 565 switch (type) {
566 case IRQ_TYPE_NONE: 566 case IRQ_TYPE_NONE: