From mboxrd@z Thu Jan 1 00:00:00 1970 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 0C7E9C433EF for ; Mon, 18 Jul 2022 19:15:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234056AbiGRTPz (ORCPT ); Mon, 18 Jul 2022 15:15:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231199AbiGRTPw (ORCPT ); Mon, 18 Jul 2022 15:15:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E6F12F3A9; Mon, 18 Jul 2022 12:15:51 -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 25B91616BD; Mon, 18 Jul 2022 19:15:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5489CC341C0; Mon, 18 Jul 2022 19:15:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658171750; bh=ivffnQS2mswQoB5NrsbpXchrpNQcGZflHS3nnPcl5MY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=m7ytv4rl0pplcivw1k7CURCkzP6fBxodsrTF73vTIStFmMTvf3N2wnCi6a5qM/DZD ulQC5apEEN1aBD9Ft7U5u6QJ1Y4f2xDIPzYEAN69q6QOZSWQmcqesNQi1mchg2GM2H V8ClfaXQiSzgwX8ZsZjSk27aqEtqPXw0ZqYDPagennsXQNnKp63ImBJufiB9TsUZ8X HmxU7umMjXjUyfF6M6re65CL92yHE/a0Bss8d1uMNJ9vKOnZ365B/3rAwrb6Yw06gg 5/MjMj38PZ97YKhuV8fOcV9Dk1nqzD83YjsegYs6Jh72B2twA3KN1HZuokAQwQS6z3 sROxkfxq7ZA0A== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220713212818.130277-1-bjorn.andersson@linaro.org> References: <20220713212818.130277-1-bjorn.andersson@linaro.org> Subject: Re: [PATCH v2] clk: qcom: gdsc: Bump parent usage count when GDSC is found enabled From: Stephen Boyd Cc: Konrad Dybcio , Michael Turquette , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: Bjorn Andersson Date: Mon, 18 Jul 2022 12:15:48 -0700 User-Agent: alot/0.10 Message-Id: <20220718191550.5489CC341C0@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Bjorn Andersson (2022-07-13 14:28:18) > When a GDSC is found to be enabled at boot the pm_runtime state will > be unbalanced as the GDSC is later turned off. Fix this by increasing > the usage counter on the power-domain, in line with how we handled the > regulator state. >=20 > Fixes: 1b771839de05 ("clk: qcom: gdsc: enable optional power domain suppo= rt") > Signed-off-by: Bjorn Andersson > --- Acked-by: Stephen Boyd