kernel_optimize_test/drivers/phy/mediatek
Tiezhu Yang 9a17907946 phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init()
[ Upstream commit aaac9a1bd370338ce372669eb9a6059d16b929aa ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-23 14:42:48 +02:00
..
Kconfig
Makefile
phy-mtk-hdmi-mt2701.c
phy-mtk-hdmi-mt8173.c
phy-mtk-hdmi.c
phy-mtk-hdmi.h
phy-mtk-tphy.c phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() 2021-06-23 14:42:48 +02:00
phy-mtk-ufs.c
phy-mtk-xsphy.c