[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1548665540.10401.0.camel@mtksdaap41>
Date: Mon, 28 Jan 2019 16:52:20 +0800
From: CK Hu <ck.hu@...iatek.com>
To: Wangyan Wang <wangyan.wang@...iatek.com>
CC: Michael Turquette <mturquette@...libre.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Stephen Boyd <sboyd@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
David Airlie <airlied@...ux.ie>,
Sean Wang <sean.wang@...iatek.com>,
Ryder Lee <ryder.lee@...iatek.com>,
"Colin Ian King" <colin.king@...onical.com>,
<linux-clk@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<dri-devel@...ts.freedesktop.org>, <jitao.shi@...iatek.com>,
<bibby.hsieh@...iatek.com>, <srv_heupstream@...iatek.com>,
chunhui dai <chunhui.dai@...iatek.com>
Subject: Re: [PATCH V3,4/8] drm/mediatek: fix the rate and divder of hdmi
phy for MT2701
On Fri, 2019-01-25 at 12:02 +0800, Wangyan Wang wrote:
> From: chunhui dai <chunhui.dai@...iatek.com>
>
> Due to a clerical error,there is one zero less for 12800000.
> Fix it for 128000000.
>
Reviewed-by: CK Hu <ck.hu@...iatek.com>
> Fixes: 0fc721b2968e ("drm/mediatek: add hdmi driver for MT2701 and MT7623")
> Signed-off-by: chunhui dai <chunhui.dai@...iatek.com>
> Signed-off-by: wangyan wang <wangyan.wang@...iatek.com>
> ---
> drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c b/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c
> index 43bc058d5528..88dd9e812ca0 100644
> --- a/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c
> +++ b/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c
> @@ -114,8 +114,8 @@ static int mtk_hdmi_pll_set_rate(struct clk_hw *hw, unsigned long rate,
>
> if (rate <= 64000000)
> pos_div = 3;
> - else if (rate <= 12800000)
> - pos_div = 1;
> + else if (rate <= 128000000)
> + pos_div = 2;
> else
> pos_div = 1;
>
Powered by blists - more mailing lists