Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1119596yba; Tue, 2 Apr 2019 02:42:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDt7lK2KI6Fi3Eg/qIVsIaseBEjFDptxHmx+pnO2H0ehErSK6SdD6Yf1PbwtnHmLmqumxK X-Received: by 2002:a65:610a:: with SMTP id z10mr34561908pgu.23.1554198174430; Tue, 02 Apr 2019 02:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554198174; cv=none; d=google.com; s=arc-20160816; b=FUiQC34FLKJ4K54RtYg0nynCiHqxDBYreopik20c1nPxiOItS4TWbrAw/v62TcsSEU jQ0s8WYeBa4zNE2SgEhtDXCQYzSzgxBthX2jn4zjCSJKopwrgZuYxCCWNxdSk6wVS2ep /s8GL6cbwmaQ6Yjv3J8Nkk7Sf4sxLh0JFVwR3yemJJA97dwVgra4IFANS+OitqPXsAvv LrbiOVuY3fSKGwHOalnFWODs6rRkXsDSCaaEvqOGYvODtRKN0uTaNlplcwesO+Etuvyq /dIx6XtPReULZpIo2rWSUN+Oilbcs9mZf0ibh+NsyXABJNUzpZT9doSkc3CDUvCuTN2l 8EMg== 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=iG0O+zEgF2yRCSLi+unJ26twZ0KtqFPA1AQlB3Z4/GE=; b=iGzrSKfHPWNlgdqAfl0LpBlexaptadSbQB1coZvFC2a6ctXuoZLU/pKAiofE2UnTJd Gn7rYOib4eoIHv39ct82fxumqRssikn66GvhHau/UC4PdB3Z8cXhAr/TfvcVbCmDzAsB PVZ6BC8OCsvNU6LahiNo/Rl8LUmJlk5U+R28ztu7TdkyX/pUyAWOKJtrKWC2TDM4LkWN OFABSpcYENNnX0Li6kNng8Lwz/5nrrsbQcqV4wOHpvtpNacvyguVVCAmr6u4zSAtbqs/ hVCfWlFtWDZrtTE9dwJ7MyuDdVRrQ+U8mRyES0452Lk9+JqQsvEuZ6OWnztG/Gm6m3dH 7fbg== 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 l2si10945726pfc.287.2019.04.02.02.42.39; Tue, 02 Apr 2019 02:42:54 -0700 (PDT) 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 S1729839AbfDBJga (ORCPT + 99 others); Tue, 2 Apr 2019 05:36:30 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:9008 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729695AbfDBJg1 (ORCPT ); Tue, 2 Apr 2019 05:36:27 -0400 X-UUID: 5a2afaac24294d168a618222170155a3-20190402 X-UUID: 5a2afaac24294d168a618222170155a3-20190402 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1577358673; Tue, 02 Apr 2019 17:36:16 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 2 Apr 2019 17:36:15 +0800 Received: from mszsdclx1067.gcn.mediatek.inc (172.27.4.253) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 2 Apr 2019 17:36:14 +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 V8 2/5] drm/mediatek: fix the rate and divder of hdmi phy for MT2701 Date: Tue, 2 Apr 2019 17:36:02 +0800 Message-ID: <20190402093605.82004-3-wangyan.wang@mediatek.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190402093605.82004-1-wangyan.wang@mediatek.com> References: <20190402093605.82004-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: Wangyan Wang 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: 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 67a814649e19..844e622f052c 100644 --- a/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c +++ b/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c @@ -116,8 +116,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