Skip to content

Commit 897cf98

Browse files
bijudasThomas Gleixner
authored andcommitted
irqchip/renesas-rzv2h: Fix error path in rzv2h_icu_probe_common()
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(). Fixes: 5ec8cab ("irqchip/renesas-rzv2h: 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/20260323124917.41602-1-biju.das.jz@bp.renesas.com
1 parent cfe0214 commit 897cf98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/irqchip/irq-renesas-rzv2h.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static int rzv2h_icu_probe_common(struct platform_device *pdev, struct device_no
621621
return 0;
622622

623623
pm_put:
624-
pm_runtime_put(&pdev->dev);
624+
pm_runtime_put_sync(&pdev->dev);
625625

626626
return ret;
627627
}

0 commit comments

Comments
 (0)