phy: cadence: Sierra: Add missing clk_disable_unprepare() in .remove callback
Add missing clk_disable_unprepare() in cdns_sierra_phy_remove(). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
This commit is contained in:

committed by
Tom Rini

parent
8257437d0f
commit
e7a2986ec7
@@ -617,6 +617,8 @@ static int cdns_sierra_phy_remove(struct udevice *dev)
|
|||||||
for (i = 0; i < phy->nsubnodes; i++)
|
for (i = 0; i < phy->nsubnodes; i++)
|
||||||
reset_assert_bulk(phy->phys[i].lnk_rst);
|
reset_assert_bulk(phy->phys[i].lnk_rst);
|
||||||
|
|
||||||
|
clk_disable_unprepare(phy->input_clks[PHY_CLK]);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user