mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
phy: cadence: Sierra: Add missing clk_disable_unprepare() in .remove callback
commit44d30d6228
("phy: cadence: Add driver for Sierra PHY") enabled the clock in probe and failed to disable in remove callback. Add missing clk_disable_unprepare() in cdns_sierra_phy_remove(). Fixes:44d30d6228
("phy: cadence: Add driver for Sierra PHY") Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Link: https://lore.kernel.org/r/20210319124128.13308-11-kishon@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
a0c30cd783
commit
29c2d02adb
@ -689,6 +689,9 @@ static int cdns_sierra_phy_remove(struct platform_device *pdev)
|
||||
reset_control_assert(phy->phys[i].lnk_rst);
|
||||
reset_control_put(phy->phys[i].lnk_rst);
|
||||
}
|
||||
|
||||
clk_disable_unprepare(phy->input_clks[PHY_CLK]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user