* [PATCH] pinctrl: exynos: remove duplicate calls in irq handler @ 2016-08-15 10:17 ` perr 0 siblings, 0 replies; 11+ messages in thread From: perr @ 2016-08-15 10:17 UTC (permalink / raw) To: tomasz.figa Cc: k.kozlowski, s.nawrocki, linus.walleij, kgene, linux-arm-kernel, linux-samsung-soc, linux-gpio, linux-kernel, perr 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 <strongbox8@zoho.com> --- drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c index 051b5bf..d32fa2b 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); } -- 1.9.3 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH] pinctrl: exynos: remove duplicate calls in irq handler @ 2016-08-15 10:17 ` perr 0 siblings, 0 replies; 11+ messages in thread From: perr @ 2016-08-15 10:17 UTC (permalink / raw) To: linux-arm-kernel 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 <strongbox8@zoho.com> --- drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c index 051b5bf..d32fa2b 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); } -- 1.9.3 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH] pinctrl: exynos: remove duplicate calls in irq handler 2016-08-15 10:17 ` perr @ 2016-08-15 11:34 ` Tomasz Figa -1 siblings, 0 replies; 11+ messages in thread From: Tomasz Figa @ 2016-08-15 11:34 UTC (permalink / raw) To: perr Cc: Krzysztof Kozłowski, Sylwester Nawrocki, Linus Walleij, Kukjin Kim, linux-arm-kernel, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel Hi, 2016-08-15 19:17 GMT+09:00 perr <strongbox8@zoho.com>: > 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 <strongbox8@zoho.com> > > --- > drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > Indeed, nice finding. Thanks! Acked-by: Tomasz Figa <tomasz.figa@gmail.com> Best regards, Tomasz ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH] pinctrl: exynos: remove duplicate calls in irq handler @ 2016-08-15 11:34 ` Tomasz Figa 0 siblings, 0 replies; 11+ messages in thread From: Tomasz Figa @ 2016-08-15 11:34 UTC (permalink / raw) To: linux-arm-kernel Hi, 2016-08-15 19:17 GMT+09:00 perr <strongbox8@zoho.com>: > 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 <strongbox8@zoho.com> > > --- > drivers/pinctrl/samsung/pinctrl-exynos.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > Indeed, nice finding. Thanks! Acked-by: Tomasz Figa <tomasz.figa@gmail.com> Best regards, Tomasz ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] pinctrl: exynos: remove duplicate calls in irq handler 2016-08-15 10:17 ` perr @ 2016-08-15 16:59 ` Krzysztof Kozlowski -1 siblings, 0 replies; 11+ messages in thread From: Krzysztof Kozlowski @ 2016-08-15 16:59 UTC (permalink / raw) To: perr Cc: tomasz.figa, k.kozlowski, s.nawrocki, linus.walleij, kgene, linux-arm-kernel, linux-samsung-soc, linux-gpio, linux-kernel On Mon, Aug 15, 2016 at 06:17:07PM +0800, perr wrote: > 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 <strongbox8@zoho.com> > > --- > 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 <k.kozlowski@samsung.com> 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH] pinctrl: exynos: remove duplicate calls in irq handler @ 2016-08-15 16:59 ` Krzysztof Kozlowski 0 siblings, 0 replies; 11+ messages in thread From: Krzysztof Kozlowski @ 2016-08-15 16:59 UTC (permalink / raw) To: linux-arm-kernel On Mon, Aug 15, 2016 at 06:17:07PM +0800, perr wrote: > 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 <strongbox8@zoho.com> > > --- > 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 <k.kozlowski@samsung.com> 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] pinctrl: exynos: remove duplicate calls in irq handler 2016-08-15 16:59 ` Krzysztof Kozlowski (?) @ 2016-08-15 23:58 ` perr perr -1 siblings, 0 replies; 11+ messages in thread From: perr perr @ 2016-08-15 23:58 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: tomasz.figa, s.nawrocki, linus.walleij, kgene, linux-arm-kernel, linux-samsung-soc, linux-gpio, linux-kernel Sent using Zoho Mail ---- On Mon, 15 Aug 2016 09:59:41 -0700 Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote ---- > On Mon, Aug 15, 2016 at 06:17:07PM +0800, perr wrote: > > 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 <strongbox8@zoho.com> > > > > --- > > 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 <k.kozlowski@samsung.com> > > 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 <strongbox8@zoho.com> is OK? I'm from China. Perr is my first name in English. > > Best regards, > Krzysztof > > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] pinctrl: exynos: remove duplicate calls in irq handler @ 2016-08-15 23:58 ` perr perr 0 siblings, 0 replies; 11+ messages in thread From: perr perr @ 2016-08-15 23:58 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: tomasz.figa, s.nawrocki, linus.walleij, kgene, linux-arm-kernel, linux-samsung-soc, linux-gpio, linux-kernel Sent using Zoho Mail ---- On Mon, 15 Aug 2016 09:59:41 -0700 Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote ---- > On Mon, Aug 15, 2016 at 06:17:07PM +0800, perr wrote: > > 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 <strongbox8@zoho.com> > > > > --- > > 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 <k.kozlowski@samsung.com> > > 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 <strongbox8@zoho.com> is OK? I'm from China. Perr is my first name in English. > > Best regards, > Krzysztof > > ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH] pinctrl: exynos: remove duplicate calls in irq handler @ 2016-08-15 23:58 ` perr perr 0 siblings, 0 replies; 11+ messages in thread From: perr perr @ 2016-08-15 23:58 UTC (permalink / raw) To: linux-arm-kernel Sent using Zoho Mail ---- On Mon, 15 Aug 2016 09:59:41 -0700 Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote ---- > On Mon, Aug 15, 2016 at 06:17:07PM +0800, perr wrote: > > 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 <strongbox8@zoho.com> > > > > --- > > 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 <k.kozlowski@samsung.com> > > 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 <strongbox8@zoho.com> is OK? I'm from China. Perr is my first name in English. > > Best regards, > Krzysztof > > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] pinctrl: exynos: remove duplicate calls in irq handler 2016-08-15 23:58 ` perr perr @ 2016-08-16 6:04 ` Krzysztof Kozlowski -1 siblings, 0 replies; 11+ messages in thread From: Krzysztof Kozlowski @ 2016-08-16 6:04 UTC (permalink / raw) To: perr perr Cc: tomasz.figa, s.nawrocki, linus.walleij, kgene, linux-arm-kernel, linux-samsung-soc, linux-gpio, linux-kernel On 08/16/2016 01:58 AM, perr perr wrote: > ---- On Mon, 15 Aug 2016 09:59:41 -0700 Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote ---- > > On Mon, Aug 15, 2016 at 06:17:07PM +0800, perr wrote: > > > 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 <strongbox8@zoho.com> > > > > > > --- > > > 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 <k.kozlowski@samsung.com> > > > > 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 <strongbox8@zoho.com> 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH] pinctrl: exynos: remove duplicate calls in irq handler @ 2016-08-16 6:04 ` Krzysztof Kozlowski 0 siblings, 0 replies; 11+ messages in thread From: Krzysztof Kozlowski @ 2016-08-16 6:04 UTC (permalink / raw) To: linux-arm-kernel On 08/16/2016 01:58 AM, perr perr wrote: > ---- On Mon, 15 Aug 2016 09:59:41 -0700 Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote ---- > > On Mon, Aug 15, 2016 at 06:17:07PM +0800, perr wrote: > > > 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 <strongbox8@zoho.com> > > > > > > --- > > > 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 <k.kozlowski@samsung.com> > > > > 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 <strongbox8@zoho.com> 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-08-16 6:04 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-08-15 10:17 [PATCH] pinctrl: exynos: remove duplicate calls in irq handler perr 2016-08-15 10:17 ` perr 2016-08-15 11:34 ` Tomasz Figa 2016-08-15 11:34 ` Tomasz Figa 2016-08-15 16:59 ` Krzysztof Kozlowski 2016-08-15 16:59 ` Krzysztof Kozlowski 2016-08-15 23:58 ` perr perr 2016-08-15 23:58 ` perr perr 2016-08-15 23:58 ` perr perr 2016-08-16 6:04 ` Krzysztof Kozlowski 2016-08-16 6:04 ` Krzysztof Kozlowski
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.