Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp91603imp; Tue, 19 Feb 2019 18:55:20 -0800 (PST) X-Google-Smtp-Source: AHgI3IYL1U/Tzr9KUjzt7rlS4+16Vh1JYleRfXOwKXYu4n5qQirbktwy1D1eCB9gdZvSZfE7Kt1o X-Received: by 2002:a17:902:7405:: with SMTP id g5mr24719630pll.230.1550631320689; Tue, 19 Feb 2019 18:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550631320; cv=none; d=google.com; s=arc-20160816; b=BFALc/K5QSnnwLqfRBHhFJ3eV0q7MEFLCsKHnOx8tWeklIri7p9zDBzx28wFH2p5E0 YFvLZTnMLwERMq2PD0/rp6JfBCYN+bPBSOzQKmg67ocC4MS76zxptFKkTfTwzZ2PNJHV zOGyMrWz1rUJ5/kiqBf63UcGo79kQZg9d/RKuGhMVPXgRbRVixBSlUnZmlS9zgnq0H2m JIp8ZH9z8ocZmCSPs8UznxPQQ07VlWLfmLs0WzzWRPD5Ol8MMX9+fx2Vt9z34eCeZUyD Mdn8RulmTdOhX+aEh8r6wFfzo1BkY3hyqCaEa0n64sXlJruUTYD0XCvsoWcITF9JDq/W WTeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=VtdJWrBbcsIO0iDZxuW7cy6Q4NsZbgxHqkztlSg1vy0=; b=rmcePbFGS/FKmriwvAl/M5cdZVNGA4xOpr9IOWYciQh+Ck7mcWCJI8y3/in0TnkOOM uazDnPluB3YDcZ6GvuOBEIc/Na+OaZ1Mm3alxt1uyKwUQlknVDbRIULpJdiTjsUKOYr3 KUVNhJ1clEuHj/Ey87zreCi4XVPo/pYAEH9baTtZORObVX8exQ863qkjTFmjKeJ1ZHan SrU8bhnH19I3jH+3lcubnDun8DsMMTogy3zbqecLK3m+o3EdCoitTBetuD+hzg+oMpCD Z8CniJsD28CCBmXMAh3yL5XwuVezXb6Nu6o5hf/liQubFQo0T7FETBmG8t7KdnWOp4e/ UWmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l93si19094192plb.433.2019.02.19.18.55.05; Tue, 19 Feb 2019 18:55:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730422AbfBTCyb (ORCPT + 99 others); Tue, 19 Feb 2019 21:54:31 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:37879 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725916AbfBTCy0 (ORCPT ); Tue, 19 Feb 2019 21:54:26 -0500 X-UUID: d4488d6acecb4d74b328d92613ca95bb-20190220 X-UUID: d4488d6acecb4d74b328d92613ca95bb-20190220 Received: from mtkcas36.mediatek.inc [(172.27.4.250)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1802791568; Wed, 20 Feb 2019 10:54:15 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 20 Feb 2019 10:54:13 +0800 Received: from mszsdaap41.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 20 Feb 2019 10:54:12 +0800 From: wangyan wang To: Michael Turquette , Stephen Boyd , CK Hu CC: wangyan wang , Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , chunhui dai , Colin Ian King , Sean Wang , Ryder Lee , , , , , , Subject: [PATCH V5 4/8] drm/mediatek: fix the rate and divder of hdmi phy for MT2701 Date: Wed, 20 Feb 2019 10:53:53 +0800 Message-ID: <20190220025357.7354-5-wangyan.wang@mediatek.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190220025357.7354-1-wangyan.wang@mediatek.com> References: <20190220025357.7354-1-wangyan.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: chunhui dai Due to a clerical error,there is one zero less for 12800000. Fix it for 128000000. Fixes: 0fc721b2968e ("drm/mediatek: add hdmi driver for MT2701 and MT7623") Reviewed-by: CK Hu Signed-off-by: chunhui dai Signed-off-by: wangyan wang --- 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; -- 2.14.1