Skip to content

Commit 4d95d65

Browse files
bijudasgregkh
authored andcommitted
irqchip/renesas-rzv2h: Fix error path in rzv2h_icu_probe_common()
[ Upstream commit 897cf98 ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 05d84c4 commit 4d95d65

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
@@ -567,7 +567,7 @@ static int rzv2h_icu_probe_common(struct platform_device *pdev, struct device_no
567567
return 0;
568568

569569
pm_put:
570-
pm_runtime_put(&pdev->dev);
570+
pm_runtime_put_sync(&pdev->dev);
571571

572572
return ret;
573573
}

0 commit comments

Comments
 (0)