diff options
author | Tiezhu Yang <[email protected]> | 2021-05-19 18:37:39 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-05-31 13:58:28 +0530 |
commit | aaac9a1bd370338ce372669eb9a6059d16b929aa (patch) | |
tree | e5c6952250d1f5445e3cd7975a2bca48e12ecdbb /drivers/usb/cdns3/cdns3-imx.c | |
parent | 6411e386db0a477217607015e7d2910d02f75426 (diff) |
phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init()
Use clk_disable_unprepare() in the error path of mtk_phy_init() to fix
some resource leaks.
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Tiezhu Yang <[email protected]>
Reviewed-by: Chunfeng Yun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions