summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/samsung
diff options
context:
space:
mode:
authorperr perr <strongbox8@zoho.com>2016-08-16 18:45:29 +0800
committerLinus Walleij <linus.walleij@linaro.org>2016-08-22 14:06:29 +0200
commit26fecf0b21d17d17ba98fd64e8ac5a5c87ffb0d5 (patch)
treed7ca55c62c41d40dc583314bc6259f98a314e447 /drivers/pinctrl/samsung
parentdb80f0e158e62164308a857bce442dfeddb5c29e (diff)
downloadlinux-26fecf0b21d17d17ba98fd64e8ac5a5c87ffb0d5.tar.gz
linux-26fecf0b21d17d17ba98fd64e8ac5a5c87ffb0d5.tar.bz2
linux-26fecf0b21d17d17ba98fd64e8ac5a5c87ffb0d5.zip
pinctrl: exynos: remove duplicate calls in irq handler
Because chained_irq_enter() has already called chip->irq_mask() and chip->irq_ack(), also chained_irq_exit() will call chip->irq_unmask(), so it's not necessary to call chip->irq_*() here. Signed-off-by: Perr Zhang <strongbox8@zoho.com> Acked-by: Tomasz Figa <tomasz.figa@gmail.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> [Hand-edited from whitespace damaged patch] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/samsung')
-rw-r--r--drivers/pinctrl/samsung/pinctrl-exynos.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c
index 051b5bf701a8..d32fa2b5ff82 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos.c
+++ b/drivers/pinctrl/samsung/pinctrl-exynos.c
@@ -428,14 +428,10 @@ static void exynos_irq_eint0_15(struct irq_desc *desc)
int eint_irq;
chained_irq_enter(chip, desc);
- chip->irq_mask(&desc->irq_data);
-
- if (chip->irq_ack)
- chip->irq_ack(&desc->irq_data);
eint_irq = irq_linear_revmap(bank->irq_domain, eintd->irq);
generic_handle_irq(eint_irq);
- chip->irq_unmask(&desc->irq_data);
+
chained_irq_exit(chip, desc);
}