diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-09-05 15:46:48 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-08 16:23:09 +0530 |
commit | 850280156f6421a404f2351bee07a0e7bedfd4c6 (patch) | |
tree | 9afaf19c58f94e29fa9c2442957c1c4d18f79542 /include/linux/string_helpers.h | |
parent | ad7a7acaedcf45071c822b6c983f9c1e084041c9 (diff) |
phy: ti: am654: Fix a leak in serdes_am654_probe()
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 <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200905124648.GA183976@mwanda
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions