[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4e0ab991-1149-5e40-2109-d0a2405dd7de@canonical.com>
Date: Fri, 17 Dec 2021 10:35:10 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
linux-watchdog@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Prabhakar <prabhakar.csengg@...il.com>,
Rob Herring <robh+dt@...nel.org>
Subject: Re: [PATCH v2] watchdog: s3c2410: Use platform_get_irq() to get the
interrupt
On 16/12/2021 22:47, Lad Prabhakar wrote:
> platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static
> allocation of IRQ resources in DT core code, this causes an issue
> when using hierarchical interrupt domains using "interrupts" property
> in the node as this bypassed the hierarchical setup and messed up the
> irq chaining.
>
> In preparation for removal of static setup of IRQ resource from DT core
> code use platform_get_irq().
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
> ---
> v1->v2
> * Dropped goto and directly returned on error
> ---
> drivers/watchdog/s3c2410_wdt.c | 15 ++++++---------
> 1 file changed, 6 insertions(+), 9 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists