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 phy: mediatek: allow compile-testing the hdmi phy 2020-12-30 11:53:36 +01:00
Makefile phy: mediatek: Move mtk_hdmi_phy driver into drivers/phy/mediatek folder 2020-09-06 07:03:21 +08:00
phy-mtk-hdmi-mt2701.c drm/mediatek: Disable tmds on mt2701 2020-09-14 23:05:23 +08:00
phy-mtk-hdmi-mt8173.c phy: mediatek: Move mtk_hdmi_phy driver into drivers/phy/mediatek folder 2020-09-06 07:03:21 +08:00
phy-mtk-hdmi.c drm/mediatek: avoid dereferencing a null hdmi_phy on an error message 2020-12-30 11:53:43 +01:00
phy-mtk-hdmi.h drm/mediatek: Disable tmds on mt2701 2020-09-14 23:05:23 +08:00
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 scsi: phy: mediatek: fix typo in author's email address 2019-04-18 22:08:25 +05:30
phy-mtk-xsphy.c phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30