summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c
diff options
context:
space:
mode:
authorWangyan Wang <wangyan.wang@mediatek.com>2019-04-09 14:53:03 +0800
committerCK Hu <ck.hu@mediatek.com>2019-04-09 17:47:01 +0800
commit827abdd024207146822f66ba3ba74867135866b9 (patch)
tree40d7b501f77e4f6164b35bcaec52d13f11c644d0 /drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c
parent321b628e6f5a3af999f75eadd373adbcb8b4cb1f (diff)
downloadlinux-stable-827abdd024207146822f66ba3ba74867135866b9.tar.gz
linux-stable-827abdd024207146822f66ba3ba74867135866b9.tar.bz2
linux-stable-827abdd024207146822f66ba3ba74867135866b9.zip
drm/mediatek: remove flag CLK_SET_RATE_PARENT for MT2701 hdmi phy
This is the first step to make MT2701 hdmi stable. The parent rate of hdmi phy had set by DPI driver. We should not set or change the parent rate of MT2701 hdmi phy, as a result we should remove the flags of "CLK_SET_RATE_PARENT" from the clock of MT2701 hdmi phy. Signed-off-by: Wangyan Wang <wangyan.wang@mediatek.com> Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c b/drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c
index 83662a208491..37f9503d7643 100644
--- a/drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c
+++ b/drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c
@@ -317,6 +317,7 @@ static void mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy)
}
struct mtk_hdmi_phy_conf mtk_hdmi_phy_8173_conf = {
+ .flags = CLK_SET_RATE_PARENT | CLK_SET_RATE_GATE,
.hdmi_phy_clk_ops = &mtk_hdmi_phy_pll_ops,
.hdmi_phy_enable_tmds = mtk_hdmi_phy_enable_tmds,
.hdmi_phy_disable_tmds = mtk_hdmi_phy_disable_tmds,