Message ID | 20230313084953.24088-2-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1085070wrd; Mon, 13 Mar 2023 02:38:09 -0700 (PDT) X-Google-Smtp-Source: AK7set8RS3bVdNcP3GGH6Zk4Mq5vXmkeBHyJZmXKSd0xwiIw+YdVTHz17lN0KZa33gVHyOORg3NE X-Received: by 2002:a17:902:dac8:b0:19a:9833:6f8 with SMTP id q8-20020a170902dac800b0019a983306f8mr40189719plx.35.1678700288920; Mon, 13 Mar 2023 02:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678700288; cv=none; d=google.com; s=arc-20160816; b=n6lHWWNCg06FE7P7l9opiSkT7Fekl+m7/X+rZTpJw2A8gLEL59Q6k09yR+tpRM3/HT iphZg8R9OAvhJsV9TwsJ3WpgqZh3s9/NeCnZvSDjkscKh4/sV6NfnIhB7j4UFZAhAv/I gd8m1Y80IrV1SsFq2JeLpbWo+wrZVr0VyTDDKVsYfbLyXO8T6gHNd79WJuEQeZUKx9Pn 3sEmWcVyudHkArEhGIsKbhAGy/Xd7Exg2hwVkzHlExTMrUWS1c6ws2IR+ztuiufbZNbu fbiW+A4ibdwwQMistBmjgDPoPxm9RHuxMzvi4y4Oqj334NSyHawJEBPIf7krMhHAQMRZ mFSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m9a1zs4q40VaWqP3eRjVDLbSf0QW87CCqwaeUwfmvWY=; b=oYwFWCQJMzc40PxthCbcWHLPkJISTgDoRu2287Y2NCCWBcKGp7suWxSETGwH9s6eeB KwVCtvtNak8PosjG5VkcS1p57OpHXf5+FYcTZon3Z+XyBaP7hR5qDNKhcA63fTsTLLci GhjjdBO4CCqCUaHt0F88rcPWn7lVOhRJvYEQ9/5ziaKVKFmXn0T2eF1u9Rn28wMdnE/c LPM3QTi/9zqcIpziD0Cvk6zAieQEOailfVSFPz1USpY3DFDk0oRuPNFlkJEws7un1K8K Ljyb7e+L5GB1CR5q/womxAE8wFUUVJeae/1pLW5LJUr2xTK9G7mWoP1mDBKNkxec7ZRk 0ofw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d2yww4Oe; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a63d34e000000b00476e640ddfesi5999904pgi.80.2023.03.13.02.37.54; Mon, 13 Mar 2023 02:38:08 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=d2yww4Oe; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230429AbjCMIyF (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Mon, 13 Mar 2023 04:54:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbjCMIxi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Mar 2023 04:53:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D77B4FF2D; Mon, 13 Mar 2023 01:51:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D518561149; Mon, 13 Mar 2023 08:50:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BFB5C433EF; Mon, 13 Mar 2023 08:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678697456; bh=UTxAK37bDA3EVcUJ2I3cJfHTWjh0McAXEajETjzOVq8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d2yww4OelgDzAjGUZXFWezscNGRWs+NxhWiIpHVNVTJqzgh1hChaDrJTlEHIfsvfW WxpiTngKuBp/IYlB5ACOY8Sz7/SjSOCQjL3Z+RMoZchNNKkepo6S2ghlug2zfJyzWG 6R8XoC8gI5RHt9gyKAKv8IukPPrI0jNwfLS5f9hNXWOFSji+vwzHHrr5iRahFOyME7 8tutOqENoqBo6Hn4spl53Qlae7nDXLKvmWQkbevu/mc29XcMrSPzwShdhoDDc6IEhK K65J2mMPGUoxxNv9EugoTqwFKyokhrFmU4QoCD75EQrMzeLXSkpKmn4cRCqRAm9U2U KmWqwRhP/e1Dg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1pbduO-0006Hu-LH; Mon, 13 Mar 2023 09:51:56 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Georgi Djakov <djakov@kernel.org> Cc: Bjorn Andersson <andersson@kernel.org>, Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Yassine Oudjana <y.oudjana@protonmail.com>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org>, stable@vger.kernel.org Subject: [PATCH 1/2] interconnect: qcom: rpm: fix msm8996 interconnect registration Date: Mon, 13 Mar 2023 09:49:52 +0100 Message-Id: <20230313084953.24088-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230313084953.24088-1-johan+linaro@kernel.org> References: <20230313084953.24088-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1760244563285313269?= X-GMAIL-MSGID: =?utf-8?q?1760244834095859274?= |
Series |
interconnect: qcom: rpm: fix msm8996 interconnect registration
|
|
Commit Message
Johan Hovold
March 13, 2023, 8:49 a.m. UTC
A recent commit broke interconnect provider registration for the msm8996
platform by accidentally removing a conditional when adding the missing
clock disable in the power-domain lookup error path.
Fixes: b6edcc7570b2 ("interconnect: qcom: rpm: fix probe PM domain error handling")
Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/641d04a3-9236-fe76-a20f-11466a01460e@wanadoo.fr
Cc: stable@vger.kernel.org # 5.17
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
drivers/interconnect/qcom/icc-rpm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On Mon, Mar 13, 2023 at 09:57:46AM +0100, Konrad Dybcio wrote: > On 13.03.2023 09:49, Johan Hovold wrote: > > A recent commit broke interconnect provider registration for the msm8996 > > platform by accidentally removing a conditional when adding the missing > > clock disable in the power-domain lookup error path. > > > > Fixes: b6edcc7570b2 ("interconnect: qcom: rpm: fix probe PM domain error handling") > The hash seems to be different: > > https://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc.git/commit/?h=icc-next&id=9038710161f0f028e36ef383fca59080f48420ee Bah, thanks for catching that. Georgi, can you change this to: Fixes: a8f1b7ca53c2 ("interconnect: qcom: rpm: fix probe PM domain error handling") unless you decide to fold this fixup in? > > Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > > Link: https://lore.kernel.org/r/641d04a3-9236-fe76-a20f-11466a01460e@wanadoo.fr > > Cc: stable@vger.kernel.org # 5.17 > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Johan
diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c index 4d0997b210f7..3b055cd893ea 100644 --- a/drivers/interconnect/qcom/icc-rpm.c +++ b/drivers/interconnect/qcom/icc-rpm.c @@ -498,7 +498,8 @@ int qnoc_probe(struct platform_device *pdev) if (desc->has_bus_pd) { ret = dev_pm_domain_attach(dev, true); - goto err_disable_clks; + if (ret) + goto err_disable_clks; } provider = &qp->provider;