Re: [PATCH] phy: ti: am654: Fix a leak in serdes_am654_probe()

2020-09-08 Thread Vinod Koul
On 05-09-20, 15:46, Dan Carpenter wrote: > If devm_phy_create() fails then we need to call of_clk_del_provider(node) > to undo the call to of_clk_add_provider(). Applied, thanks -- ~Vinod

[PATCH] phy: ti: am654: Fix a leak in serdes_am654_probe()

2020-09-05 Thread Dan Carpenter
If devm_phy_create() fails then we need to call of_clk_del_provider(node) to undo the call to of_clk_add_provider(). Fixes: 71e2f5c5c224 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC") Signed-off-by: Dan Carpenter --- drivers/phy/ti/phy-am654-serdes.c | 6 -- 1 file changed, 4