pinctrl: exynos: remove duplicate calls in irq handler
Subsystems (4)
PATCH RESEND v2 1/1 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 <[email protected]>
Acked-by Tomasz Figa <[email protected]>
Reviewed-by Krzysztof Kozlowski <[email protected]>
---
drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/pinctrl/samsung/pinctrl-exynos.c +1 -5
@@ -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); }
Signature · 1 line
1.9.3
Quoted 7 lines · perr perr
Because
chained_irq_enter()has already calledchip->irq_mask()andchip->irq_ack(), alsochained_irq_exit()will callchip->irq_unmask(), so it's not necessary to call chip->irq_*() here.Signed-off-by Perr Zhang <[email protected]>Acked-by Tomasz Figa <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Patch did not apply because of whitespace-damage, I guess due to this:
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
No idea what that is :D
But don't worry! I edited the patch by hand and now it is applied, check the result in linux-next.
Yours,
Linus Walleij