pinctrl: exynos: remove duplicate calls in irq handler
Subsystems (4)
PATCH 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.
--- 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
Hi,
2016-08-15 19:17 GMT+09:00 perr <[email protected]>:
Quoted 10 lines
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 <[email protected]>--- drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Indeed, nice finding. Thanks!
Best regards,
Tomasz
Quoted 10 lines · 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 <[email protected]>--- drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Looks correct so for the patch itself:
However, your name "Perr" confuses me a little bit. For the Signed-off-by statement, as mentioned in Documentation/SubmittingPatches, a real name is required. The name should match the author.
Would you be so kind as to use a full, real name? Unless Perr is your full, real name... then sorry for the trouble.
Best regards,
Krzysztof
Sent using Zoho Mail
---- On Mon, 15 Aug 2016 09:59:41 -0700 Krzysztof Kozlowski <[email protected]> wrote ----
Quoted 16 lines · perr
Quoted 10 lines
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 <[email protected]>---
drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)Looks correct so for the patch itself:
Reviewed-by Krzysztof Kozlowski <[email protected]>
Quoted 7 lines
However, your name "Perr" confuses me a little bit. For the Signed-off-by statement, as mentioned in
Documentation/SubmittingPatches, a real name is required. The name should match the author.Would you be so kind as to use a full, real name? Unless Perr is your full, real name... then sorry for the trouble.
Perr Zhang <[email protected]> is OK?
I'm from China. Perr is my first name in English.
Quoted 5 lines
Best regards,
Krzysztof
Quoted 22 lines · perr perr
---- On Mon, 15 Aug 2016 09:59:41 -0700 Krzysztof Kozlowski <[email protected]> wrote ----
Quoted 21 lines · perr
Quoted 10 lines
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 <[email protected]>---
drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)Looks correct so for the patch itself:
Reviewed-by Krzysztof Kozlowski <[email protected]>However, your name "Perr" confuses me a little bit. For the Signed-off-by statement, as mentioned in
Documentation/SubmittingPatches, a real name is required. The name should match the author.
Quoted 4 lines
Quoted 2 lines
Would you be so kind as to use a full, real name? Unless Perr is your full, real name... then sorry for the trouble.
Perr Zhang <[email protected]> is OK?
I'm from China. Perr is my first name in English.
Yes, seems fine. Could you resend with updated name?
Best regards,
Krzysztof