Skip to content

Commit c9b7598

Browse files
Demon000Thomas Gleixner
authored andcommitted
irqchip/renesas-rzt2h: Use pm_runtime_put_sync() in probe error path
pm_runtime_put() may trigger the idle check after pm_runtime_disable() is run as part of devm_pm_runtime_enable()'s cleanup action, leaving runtime PM active. Use pm_runtime_put_sync() to ensure the idle check runs synchronously. Fixes: 13e7b33 ("irqchip: Add RZ/{T2H,N2H} Interrupt Controller (ICU) driver") Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260520203117.1516442-2-cosmin-gabriel.tanislav.xa@renesas.com
1 parent 96031b3 commit c9b7598

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/irqchip/irq-renesas-rzt2h.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ static int rzt2h_icu_init(struct platform_device *pdev, struct device_node *pare
265265
irq_domain = irq_domain_create_hierarchy(parent_domain, 0, RZT2H_ICU_NUM_IRQ,
266266
dev_fwnode(dev), &rzt2h_icu_domain_ops, priv);
267267
if (!irq_domain) {
268-
pm_runtime_put(dev);
268+
pm_runtime_put_sync(dev);
269269
return -ENOMEM;
270270
}
271271

0 commit comments

Comments
 (0)