Skip to content

Commit a7df913

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 f003585 commit a7df913

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
@@ -569,7 +569,7 @@ static int rzv2h_icu_probe_common(struct platform_device *pdev, struct device_no
569569
return 0;
570570

571571
pm_put:
572-
pm_runtime_put(&pdev->dev);
572+
pm_runtime_put_sync(&pdev->dev);
573573

574574
return ret;
575575
}

0 commit comments

Comments
 (0)