diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2021-05-19 13:37:39 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-05-31 11:28:28 +0300 |
commit | aaac9a1bd370338ce372669eb9a6059d16b929aa (patch) | |
tree | e5c6952250d1f5445e3cd7975a2bca48e12ecdbb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6411e386db0a477217607015e7d2910d02f75426 (diff) | |
download | linux-aaac9a1bd370338ce372669eb9a6059d16b929aa.tar.xz |
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 <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1621420659-15858-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions