Re: [PATCH 4/5] PCI: dwc: rcar-gen4: Handle PERST via reset subsystem

From: Marek Vasut

Date: Sun Jul 19 2026 - 23:03:46 EST


On 7/15/26 4:36 PM, Manivannan Sadhasivam wrote:

Hello Manivannan,

[...]

@@ -671,6 +705,8 @@ static void rcar_gen4_pcie_remove(struct platform_device *pdev)
rcar_gen4_remove_dw_pcie(rcar);
rcar_gen4_pcie_unprepare(rcar);
+ if (rcar->perst)
+ reset_control_put(rcar->perst);

I don't see reset_control_put() in any error paths of probe().
I will address all the items in V2, thanks !