From patchwork Mon Aug 2 15:36:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12414285 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E14FC4320A for ; Mon, 2 Aug 2021 15:35:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80E30610FC for ; Mon, 2 Aug 2021 15:35:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234331AbhHBPfU (ORCPT ); Mon, 2 Aug 2021 11:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233939AbhHBPfU (ORCPT ); Mon, 2 Aug 2021 11:35:20 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A6C2C06175F for ; Mon, 2 Aug 2021 08:35:10 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id l4-20020a05600c1d04b02902506f89ad2dso191410wms.1 for ; Mon, 02 Aug 2021 08:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CqRphvdIf2WgJ/qGVLo1HnyggKC4dKCtnyTo5bfmkDg=; b=S2wd+Sg6KnZacgFEJ99whDtJYm28ysMWAFRPDZnWCPrvAl808RIJveY7Ml+fCI4BqM RZ/OiA+tFq/6ZXDJxq3VqKbIekBZ+zHqs75mlRvRXgF+P1or058BxyEqCuSQksOh1LvY mw45tSpx9K+bAo5qQhVLK4U8d2R0VAxKjA3sLKJo9Apf78bCi+Kyph57iiorSMMzkogO TRQhRJqhpZh/X28iIyQC0xXzw/EJX1rei777rKEOimcYc04biqLFOYezxTMH0gLPAS+S OHqGQjmBmDqT4li9/5iflcwK2JKiuZUXboFvPvyS2G9lNb5eHkZyiIL22tBlsEmt7Vn1 W7Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CqRphvdIf2WgJ/qGVLo1HnyggKC4dKCtnyTo5bfmkDg=; b=fYrDTrO2DmWp02QGxDIIYw3WzFkLIWj1uBxxezceWWqYyT5XjnbfCGW3c9gsvaCjet xuU/Dim2ZaCJ6OfAZvDUmfFV3LHib91ZTH09HSQIbb0+gs7PskOXKa1ZagfaRU8KD6sS 1uMsCTSdx6EIgDkN1/h5EnZEHplgXNh6xxkR8LN7qGzh6cyNQGJfjDSs7uwSyY/0pG7k 5fqy5oUBlBUxONMonmeFs3CJDSE1sAUfOluIQnpY1fvO/BHAsNlYJO3k0qqGh7hoBerc CLtX1gdjrlxlbtSizIdVr7yUgUXwzoZ43ioYSgFQhjwhM+0hkcWc+4XVYFYFkiIBdZLS iqlg== X-Gm-Message-State: AOAM531Nilchxa/nXYbsoFaSR1Mv/oJ0/Z3YkwI2ZiaIOzZhWMRGAK2F fEtx8w//yZoHqono9Za8Q0MCag== X-Google-Smtp-Source: ABdhPJx5UCETfS+POdnWM9sbDJAE0uL/EJRjQqRJqZXZMwaTsZaYu3148gfTZ4dIxyhaIyEFijdBpA== X-Received: by 2002:a05:600c:1ca4:: with SMTP id k36mr2801409wms.107.1627918508326; Mon, 02 Aug 2021 08:35:08 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id d15sm4685413wri.96.2021.08.02.08.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 08:35:07 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, konrad.dybcio@somainline.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Cc: Bryan O'Donoghue Subject: [PATCH] clk: qcom: clk-smd-rpm: Fix invalid RPM_SMD_PCNOC_A_CLK entry Date: Mon, 2 Aug 2021 16:36:57 +0100 Message-Id: <20210802153657.879499-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org MSM8936 and MSM8939 both share the same RPMCC clock tree, I've been testing on MSM8939 and I've found that RPM_SMD_PCNOC_A_CLK is currently invalid. RPM_SMD_PCNOC_A_CLK should point to msm8916_pcnoc_a_clk not to msm8916_pcnoc_clk. Fixes: a0384ecfe2aa8 ("clk: qcom: smd-rpm: De-duplicate identical entries") Signed-off-by: Bryan O'Donoghue --- drivers/clk/qcom/clk-smd-rpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index 800b2fef1887f..b2c142f3a649e 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -467,7 +467,7 @@ DEFINE_CLK_SMD_RPM(msm8936, sysmmnoc_clk, sysmmnoc_a_clk, QCOM_SMD_RPM_BUS_CLK, static struct clk_smd_rpm *msm8936_clks[] = { [RPM_SMD_PCNOC_CLK] = &msm8916_pcnoc_clk, - [RPM_SMD_PCNOC_A_CLK] = &msm8916_pcnoc_clk, + [RPM_SMD_PCNOC_A_CLK] = &msm8916_pcnoc_a_clk, [RPM_SMD_SNOC_CLK] = &msm8916_snoc_clk, [RPM_SMD_SNOC_A_CLK] = &msm8916_snoc_a_clk, [RPM_SMD_BIMC_CLK] = &msm8916_bimc_clk,