drm/mediatek: make implementation of recalc_rate() for MT2701 hdmi phy
authorWangyan Wang <wangyan.wang@mediatek.com>
Tue, 9 Apr 2019 06:53:06 +0000 (14:53 +0800)
committerCK Hu <ck.hu@mediatek.com>
Tue, 9 Apr 2019 09:46:54 +0000 (17:46 +0800)
commit321b628e6f5a3af999f75eadd373adbcb8b4cb1f
treef08e6986ea2112b2e98150e66d6d9465d288e315
parent0c24613cda163dedfa229afc8eff6072e57fac8d
drm/mediatek: make implementation of recalc_rate() for MT2701 hdmi phy

Recalculate the rate of this clock, by querying hardware to
make implementation of recalc_rate() to match the definition.

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