]> git.ipfire.org Git - thirdparty/linux.git/commit
irqchip/renesas-rzg2l: Fix error path in rzg2l_irqc_common_probe()
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 25 Mar 2026 19:24:18 +0000 (19:24 +0000)
committerThomas Gleixner <tglx@kernel.org>
Thu, 26 Mar 2026 15:56:20 +0000 (16:56 +0100)
commitfb74e35f78105efd8635c89b39f4389f567edbdc
treeed4b6db3a9f0bfa1d559b1e1909690c61bcc8741
parent3aa78b828e5d68bc8231a70ed295bcc6227bc611
irqchip/renesas-rzg2l: Fix error path in rzg2l_irqc_common_probe()

Replace pm_runtime_put() with pm_runtime_put_sync() when
irq_domain_create_hierarchy() fails to ensure the device suspends
synchronously before devres cleanup disables runtime PM via
pm_runtime_disable().

[ tglx: Fix up subject and change log to be precise ]

Fixes: 7de11369ef30 ("irqchip/renesas-rzg2l: Use devm_pm_runtime_enable()")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260325192451.172562-4-biju.das.jz@bp.renesas.com
drivers/irqchip/irq-renesas-rzg2l.c