Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5328368ybc; Wed, 27 Nov 2019 02:18:39 -0800 (PST) X-Google-Smtp-Source: APXvYqyXiG3I1Fl2sVdLD8k/CQAKZV+z2qp9er8dvMPBZE8NGJLuSB8O+4tGDwg+wD7SKsSm236O X-Received: by 2002:a17:906:cb8d:: with SMTP id mf13mr21919821ejb.147.1574849919356; Wed, 27 Nov 2019 02:18:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574849919; cv=none; d=google.com; s=arc-20160816; b=M8otpmSXzPinyaTgbvFWP86x9zZL3UR3HObzAficEKpSfr1D02aqvuArB2qxRmq8CA Iqhf7G6WQVjFt38Iq4779CiPkuY3BlVcliGNzpxqecwS+xvwfNYw3INRnn4dj7S53Ch+ 32vLG6V2eAFHcAobVsDUobdl7DPB0g3KDn7Nqbi1OJIhv91d4g5QyIHL5L8syEYfT3Y3 HjG8VVG8bthp5OdP/7idd8f1TGIgWMXZPRo2wGJStGhRLnqKtZjk3H40KcFbgZmEP9S0 KKwuRALE+pjrLr1/r95YWrClMvYLfgpRw8QuJFMHIxLliZht1m/i3VvNr1rJiyHn0Wbe khOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr; bh=LEcvlntUHu+7bS6ZASUWbFTgq7v51/IbUm1g5/lb/5I=; b=DeZ8qQI6D0DHbW2bOFK9lI+yrzRG8RJTu3XJcsYTvMfDvOeyC8p2o0uHtILELwifY5 jEePxnmyZykL9OENy9A9IR63ObnJZAXBZJI2sahRkmk79zZuG3SfxwORMVWPoSOpfeex ifuttF7ojlEeHccsmuCQBMrEpt+QSkd3yiYm4rCfFlKOy5YX6KQ0+Grp8y7ry/Tf2Zqm P/5ca/gxZiXIVmP27qoYXibXZqnx5B4bNic25U/Z4CRAqzI5n8OetnPOsDguOBGYIZin 92HHI8GjC0ln++NfqnmJ53I1xPizXrcQZVSa6Kk2prjUnbZdBCv/gi5gs8LavFk6EjQm vl/g== 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 f23si11028260edj.380.2019.11.27.02.18.15; Wed, 27 Nov 2019 02:18:39 -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 S1726926AbfK0KQO (ORCPT + 99 others); Wed, 27 Nov 2019 05:16:14 -0500 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:64310 "EHLO alexa-out-blr-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbfK0KQO (ORCPT ); Wed, 27 Nov 2019 05:16:14 -0500 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by alexa-out-blr-02.qualcomm.com with ESMTP/TLS/AES256-SHA; 27 Nov 2019 15:46:11 +0530 IronPort-SDR: Qp494lQ+am4ylxGZ8MTvUKCSOUEOfZaZEJDAxZDOv7E88WehlZ/cFjIjgspwTSGMxbK2OOwb/s i+y0GQASfJlCr61kIYpVDRtyv1bAitIGVGC7nYQA6e35xfkd7ESYe3lXZtPdom7XBRhIz0dR1c baIqfYktoZFarl9JbaHYrKN/X8u6Tdrhx5Pjmi+ut+GvrvtvRohzoXZAIo6nU+7F1T5skt9+3S 0bgGgLxbr46y51wo1KSGzRw55qI9sOorGOwEdOXUPWgwe/WjPNMcn9m7N1YCzDkzD5GnGYBh0J PVtN7Zg4DpiDAzAiZBjKpPed Received: from dhar-linux.qualcomm.com ([10.204.66.25]) by ironmsg02-blr.qualcomm.com with ESMTP; 27 Nov 2019 15:46:10 +0530 Received: by dhar-linux.qualcomm.com (Postfix, from userid 2306995) id 7652B3B5B; Wed, 27 Nov 2019 15:46:09 +0530 (IST) From: Shubhashree Dhar To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Shubhashree Dhar , linux-kernel@vger.kernel.org, robdclark@gmail.com, seanpaul@chromium.org, hoegsberg@chromium.org, abhinavk@codeaurora.org, jsanka@codeaurora.org, chandanu@codeaurora.org, nganji@codeaurora.org Subject: [PATCH] msm:disp:dpu1: Fix core clk rate in display driver Date: Wed, 27 Nov 2019 15:46:07 +0530 Message-Id: <1574849767-6376-1-git-send-email-dhar@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix max core clk rate during dt parsing in display driver. Signed-off-by: Shubhashree Dhar --- drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c index 27fbeb5..991fff1 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c @@ -187,6 +187,7 @@ int msm_dss_parse_clock(struct platform_device *pdev, continue; mp->clk_config[i].rate = rate; mp->clk_config[i].type = DSS_CLK_PCLK; + mp->clk_config[i].max_rate = rate; } mp->num_clk = num_clk; -- 1.9.1