OSDN Git Service

drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy
authorWangyan Wang <wangyan.wang@mediatek.com>
Tue, 9 Apr 2019 06:53:07 +0000 (14:53 +0800)
committerCK Hu <ck.hu@mediatek.com>
Tue, 9 Apr 2019 09:47:01 +0000 (17:47 +0800)
commit9ee76098a1b8ae21cccac641b735ee4d3a77bccf
tree083e3312f604a323692227932ab48bb6f985404d
parent8eeb3946feeb00486ac0909e2309da87db8988a5
drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy

This is the third step to make MT2701 HDMI stable.
We should not change the rate of parent for hdmi phy when
doing round_rate for this clock. The parent clock of hdmi
phy must be the same as it. We change it when doing set_rate
only.

Signed-off-by: Wangyan Wang <wangyan.wang@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_hdmi_phy.c
drivers/gpu/drm/mediatek/mtk_hdmi_phy.h
drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c
drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c