Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40FC5C61DA4 for ; Mon, 13 Mar 2023 09:02:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbjCMJC0 (ORCPT ); Mon, 13 Mar 2023 05:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230453AbjCMJBy (ORCPT ); Mon, 13 Mar 2023 05:01:54 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF30F5F50D for ; Mon, 13 Mar 2023 01:57:54 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id s20so14687747lfb.11 for ; Mon, 13 Mar 2023 01:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678697868; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vG2hIsjaOd4MbHUHiVXsu6+98QpgUAMpZAz1HLFBAYw=; b=rLCKnc6LXfF/l+vowgqu+45yxJxvQS6zrLssUXcoNGQL2pM7GLKBgql42hlynGkkZD vGj+6eWu2GmxH0MMpcwK+UE9oKSrPf2LI1UEyyxvkC0XhffB9aBqLKpkTEBb1iHhXrY2 OudZZhiB7R8UDeGNreLdHlhVoZVj+Gnj0lD1svZYYO214PcEiS+9Il4OvPwTyHcW2KyY o+engJreIQHPFMxna9ytRVoIaRSGbOI57HIpkAKNT6VYPlsESMypkyb0J6z+pRcEy+fr KrAc/iJ0QVkA/uQj8Gn/mG/zttCfzWQ/QB6BBXILWjVFf6Gg5zcXSPTRIs7n1W8TYmU2 JbhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678697868; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vG2hIsjaOd4MbHUHiVXsu6+98QpgUAMpZAz1HLFBAYw=; b=cMebF4DyCs5rTcuNHB/ZYIZeTWFSdoQJuB1OZjgkrNx3+LnwABXGUC/CxVzGzIhecH 4OkUdTkq5fohpTDTBwmixdX4LBD/ijCDvfmQ4sVNMDvqLrTH94+OoaldzTDNIrSv9rw6 QIB/lngtOiX+nCBtbL1IGqvpYlL7ANWWzNr7G4Lxe3/nZB/KM+TLTZERknRZgw0rxxyp KXRZ9wxu+RexzRsU3lLoVS3u+3k4IR/52fvwcBDHM2Mt/uoDglYnZU+mJB3lzuhclGvY nSsEpz9RR8IHESl4GiSrfboVohpUuqq0AmA6ci0MR6829YOcLfiFk9aWDFxG3E9MDT2b duOg== X-Gm-Message-State: AO0yUKXwN6r7Ir+8jkYulRxU9DXRsM0MPHFvMCJ45R5yNS+1989R/5bl 1sH7iR1xaAX6j9GhAMaKhp+HSQ== X-Google-Smtp-Source: AK7set9EtBcxmlEICRY/EI2PNnRVRF2HUoh341r7FSr8bbFAZ81faYrNhqlaWpezNQf9esZ6fqJUFA== X-Received: by 2002:ac2:5fef:0:b0:4db:38aa:a2f4 with SMTP id s15-20020ac25fef000000b004db38aaa2f4mr9423816lfg.14.1678697868197; Mon, 13 Mar 2023 01:57:48 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id z2-20020a056512376200b004d783b0d310sm892550lft.307.2023.03.13.01.57.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Mar 2023 01:57:47 -0700 (PDT) Message-ID: <39ada68d-e294-9602-f3f6-506b9a6645d8@linaro.org> Date: Mon, 13 Mar 2023 09:57:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 1/2] interconnect: qcom: rpm: fix msm8996 interconnect registration Content-Language: en-US To: Johan Hovold , Georgi Djakov Cc: Bjorn Andersson , Andy Gross , Dmitry Baryshkov , Yassine Oudjana , Christophe JAILLET , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20230313084953.24088-1-johan+linaro@kernel.org> <20230313084953.24088-2-johan+linaro@kernel.org> From: Konrad Dybcio In-Reply-To: <20230313084953.24088-2-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Reported-by: Christophe JAILLET > 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 > --- > drivers/interconnect/qcom/icc-rpm.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > 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; *wipes glasses*.. right.. Reviewed-by: Konrad Dybcio Konrad > } > > provider = &qp->provider;