[v5,09/10] interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore
Message ID | 20230217-topic-icc-fixes-v5-v5-9-c9a550f9fdb9@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp817218wrn; Fri, 17 Feb 2023 02:49:14 -0800 (PST) X-Google-Smtp-Source: AK7set/7TU+auGYGj1pHFmWtL6M05Wr5vfMkVlby8LnAbMWL1fGP6NXAbYfOJZQtuIeMSrEN9hdf X-Received: by 2002:aa7:978a:0:b0:5a8:8535:18b with SMTP id o10-20020aa7978a000000b005a88535018bmr746735pfp.11.1676630954305; Fri, 17 Feb 2023 02:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676630954; cv=none; d=google.com; s=arc-20160816; b=ibrfT1HIjqDMVOCRmgNCTipuj2K1A0TkgLHogRPVaflJdAn09vI4IpstzNFwi3nVFG r1xuWru4ZEkUyjHUcS2tuoptkJ3BRmOQdEH6a6nlzv8OngZ7UE4lT4llrGd0mrvcUQvb MOZpkmSiksEiGEySlsBtBC2tHvxqFWiJsi7yr7T0vey041kE2IDP8N6VfIwn/5L9Gb7J hxQQxbtMxN7qsMG+VPxz2Ivro+CBEX17/FvdQEA4OfajkQtl1KaifwID+JR5PqeMHrj5 aNcq1qrtIrncSLOrjYeB6grIAkluivZKRgicIeiOjGTnFZqv/Yvv9xafiR7+DYiU8c/F Ke1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=sUZvSNJx+5CVUv1a1ome/kslg/vit8dOWhZX8VfXJjY=; b=l1fr5jKCtSA/u+GpwbOIT1nqCzFArpR624vHor5n/beAsMYv3fQUTKwXSj+z/BaJ1z XtNIJ7jrrESYim2pysp66vPqE5XLBOHz1g/qdJkSMLclFAAggpwqN6LOnnN2zj9jDpn4 U1UL7GRX2nv2jZrpfZ2tFbIu+383UP7VjqrWWurmhRL0TPJ12jl1p1aOZLYD0HjDpgBE O4hr1peA7djpi6Zq5uLJkx/xJrlE5pY5D0IWW9ptJl8Efov7VQHIyTdG9niilh/thCzN nawJz20NF8n2TK1jMuNBi2SziZOE1OdsQlwl3jReZL1OYOI9dPI4oilPyMr5s/sBALxP oQzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EXsdWyi0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020aa7951a000000b00593b8c172d8si4098750pfp.200.2023.02.17.02.49.02; Fri, 17 Feb 2023 02:49:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EXsdWyi0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230003AbjBQKrN (ORCPT <rfc822;aimixsaka@gmail.com> + 99 others); Fri, 17 Feb 2023 05:47:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbjBQKqx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 17 Feb 2023 05:46:53 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC79A63BE0 for <linux-kernel@vger.kernel.org>; Fri, 17 Feb 2023 02:46:44 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id z18so1329609lfd.0 for <linux-kernel@vger.kernel.org>; Fri, 17 Feb 2023 02:46:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=sUZvSNJx+5CVUv1a1ome/kslg/vit8dOWhZX8VfXJjY=; b=EXsdWyi08Pn7WSIyxZUVREdsQR8UnirrYFke6f6W1etq8gPhRdj7ZgB4N7wIjtYzZT 7rO+638bw8CSKKLWyVwDLbHVRdlkiZCXp0pIPfkoxg4ABM56NPG/DqIri8GLjMrwxXE6 mxq7sRzyhPDfWE/L09Yj3zUq844ssUKqMguBGnB+ymP8VAUW55AEbNo5oyhZVhzk+bPm 7B8nKUdMF11d7GZgf0zBRtU8Mp6vLYRPQFz6at5//qzcCIrJm7Gr/jckq8GaoyKsatca 4HoSCZPWeKc6OOt9iKybUwE3Nto9K4MYWDqZ6SGXidgD9oX5sP/pzPE0dQdxepH0c5Jf Hqyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sUZvSNJx+5CVUv1a1ome/kslg/vit8dOWhZX8VfXJjY=; b=moan46gldHMXno1TthQUbzHkqd8gx0dY5Jc7GogJAdnp0f7N2KWgmNnB7n1QAUW7Ug JO482RBsspdCWS0756NRDuA3N/80qiQQC0pBtw8PgiJUFQYM9t0RjmhT3xOwQjChS+Dj 7KQrlhhhAogecK0iOyRbAsEHr5cFfB+RIOKwKoKCnVIcrHglGczRRsh3pq0sbS91jGRE lEIX4x2gMArpJHvJM2TCte5LjGE5lf2as7o2AfVdx+A4pw24QnGvNKO5ipJ9ipkCnTrk 8laWx+6dtNTQGvGd94MHXq1ItftPNoRgo7nbzaqM6yjfEJ1o6lrOOo8QyhNe7i6ri3s3 b2qg== X-Gm-Message-State: AO0yUKUtdHW12Nl4/PSYxzfQDW5WCp2BISnJ8ZatkiuGj4t9iCF9Y6gc finaajI6GnJi/QcJ96ZFYb8/iQ== X-Received: by 2002:a19:550f:0:b0:4a4:7be4:9baf with SMTP id n15-20020a19550f000000b004a47be49bafmr131985lfe.59.1676630804528; Fri, 17 Feb 2023 02:46:44 -0800 (PST) Received: from [192.168.1.101] (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id c13-20020a05651221ad00b004b53eb60e3csm645940lft.256.2023.02.17.02.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 02:46:44 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Fri, 17 Feb 2023 11:46:30 +0100 Subject: [PATCH v5 09/10] interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230217-topic-icc-fixes-v5-v5-9-c9a550f9fdb9@linaro.org> References: <20230217-topic-icc-fixes-v5-v5-0-c9a550f9fdb9@linaro.org> In-Reply-To: <20230217-topic-icc-fixes-v5-v5-0-c9a550f9fdb9@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Georgi Djakov <djakov@kernel.org>, Evan Green <evgreen@chromium.org>, Jun Nie <jun.nie@linaro.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Brian Masney <masneyb@onstation.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Yassine Oudjana <y.oudjana@protonmail.com> Cc: Georgi Djakov <georgi.djakov@linaro.org>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1676630791; l=1105; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=M6Z9fDv56JMA/vi+7eufxFCs9O0sn12I8qL5zKPdgGA=; b=4PU2DRlOt0EziTNs4oNm8eizsiGxce2VIGm7o4so4TLHPOOMLgZdmRPkufnOsNHyvGrwjURDmBk1 n49XNf+UC2baBget3SKLWOJw2zcRPo9w1gGP7CZEdSEDgYWnk/WJ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758074979390772771?= X-GMAIL-MSGID: =?utf-8?q?1758074979390772771?= |
Series |
The great interconnecification fixation
|
|
Commit Message
Konrad Dybcio
Feb. 17, 2023, 10:46 a.m. UTC
Commit dd42ec8ea5b9 ("interconnect: qcom: rpm: Use _optional func for provider clocks")
relaxed the requirements around probing bus clocks. This was a decent
solution for making sure MSM8996 would still boot with old DTs, but
now that there's a proper fix in place that both old and new DTs
will be happy about, revert back to the safer variant of the
function.
Fixes: dd42ec8ea5b9 ("interconnect: qcom: rpm: Use _optional func for provider clocks")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/icc-rpm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c index 1b382a2f2710..7c2ed224d0e7 100644 --- a/drivers/interconnect/qcom/icc-rpm.c +++ b/drivers/interconnect/qcom/icc-rpm.c @@ -510,7 +510,7 @@ int qnoc_probe(struct platform_device *pdev) } regmap_done: - ret = devm_clk_bulk_get_optional(dev, qp->num_bus_clks, qp->bus_clks); + ret = devm_clk_bulk_get(dev, qp->num_bus_clks, qp->bus_clks); if (ret) return ret;