Re: [PATCH v2 3/3] i2c: riic: Use platform_get_irq() to get the interrupt
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2022-01-03 09:20:31
Also in:
linux-i2c, linux-renesas-soc, lkml
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2022-01-03 09:20:31
Also in:
linux-i2c, linux-renesas-soc, lkml
On Tue, Dec 21, 2021 at 05:53:22PM +0000, 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 bypasses the hierarchical setup and messes 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@bp.renesas.com>
Applied to for-next, thanks!