[PATCH] i2c: bcm2835: Use platform_get_irq() to get the interrupt

Wolfram Sang wsa at kernel.org
Sun May 22 14:05:31 PDT 2022


On Thu, Feb 10, 2022 at 05:25:06PM +0800, zhaoxiao 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: zhaoxiao <zhaoxiao at uniontech.com>

Already fixed upstream 6 months ago with

c3b2f911ac11 ("i2c: bcm2835: Use platform_get_irq() to get the interrupt")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20220522/f581ced7/attachment.sig>


More information about the linux-rpi-kernel mailing list