Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp905130rwl; Thu, 5 Jan 2023 06:15:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXsj2fP9o5/tWVV0W1n+Y6h+Y21d91PmviR/TVy7tW1LfTmCcjd2gPTEfbdcTvWLcLAE0BeC X-Received: by 2002:a05:6a20:3ba7:b0:b2:3174:d2b2 with SMTP id b39-20020a056a203ba700b000b23174d2b2mr54163087pzh.28.1672928149931; Thu, 05 Jan 2023 06:15:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672928149; cv=none; d=google.com; s=arc-20160816; b=dZ2U6rNhVqjitgR+3KJ8GkHUn0t4iKcdNfrmB3LRkZZugY0yxvbuiK8XvqiIu0V/9e rcV9kOAtrRjybmTroQleaLuhqHoGQkGYC+zwXiRtSbRLer3x7DIFa73BQjO5qOF9xOME tYm2yufAF05BVsVOEiDX45V3JSDLUmiQk7ASnm6gYBlkGlO2E8/GH7zNJYP2980cZgoT l5AQf1gC1x/x7vYzRa8cTQlHXN6Kx6BMDsm5oiDHkzdHnNjA0JsT4xbj6mJPmZyuDmI4 epl8g86Jb25pIlzFHV0D+kcVc5xdbwegsDr2YbGYtiFAIKPT3Ono6LRxF6Tnp0g9h0XM 19ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=t+2bEOS8sQMLPpamnPGcP7WGEd0XhmvXigQQYpxuAjE=; b=TNa57g+fanqYeXQ81VesrzD7xjGtCVQ1cJalCsq1yhONHXC1tTgjdRcepSHgKfmJ5h magWqgS8mExKJn5gLF6UgbAau9udAq17yeG/V9vXWhA6cBU3lNMD4BE58ZlgPUREbKAu u7u4sDVg2XI42H4BxrKr2jF94NPEBDwfZbc4aI+8M9j6Y1yLJDILpVodIbzlYR8ihC32 BhxSDD5EMHjoSmE9XZQowxdkQ8e2ynGvJWTqwaZ9JocFop1mpmr93wB3yacnaNTh+zWL VRV9qcF81vRjBTZkOvauzMnBQdMSb3SWH9KAszebz7IOxeKzizyH6PWIhGj4FsRwbqee RwfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z2lIRZ5o; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f185-20020a636ac2000000b004a44f700f4asi8781812pgc.366.2023.01.05.06.15.42; Thu, 05 Jan 2023 06:15:49 -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=Z2lIRZ5o; 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 S233250AbjAEOEw (ORCPT + 56 others); Thu, 5 Jan 2023 09:04:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234649AbjAEOEN (ORCPT ); Thu, 5 Jan 2023 09:04:13 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE5BF4F112 for ; Thu, 5 Jan 2023 06:03:51 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id bq39so47347229lfb.0 for ; Thu, 05 Jan 2023 06:03:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=t+2bEOS8sQMLPpamnPGcP7WGEd0XhmvXigQQYpxuAjE=; b=Z2lIRZ5oB7h68mXWc6QYU7S7CMKTvmB3VVzyQV3ptprWhE1h2NtQ/eWlpflRdksEXR 3ZpzRsRL3I+f5Bwf1k5vkUub/lU1ZtsVKVWsGCxfCkADhDZzr+JOf3hGtEbbnvFQhvH9 KTVUNa4SKRzd51nUhfDu3gpdOS/RK5QmlrLPhXLbJpUlKIdI5JjCDeiyfccUu7zHgfAt 7ZKxmNTV/9nL6bPCwNPiN7Qtil2l7VEcKy5+TTX8hSUTvwpl6an0iIrw/FmA9KXyDP1o fY2lvASoQF2d00QIw3rD8SKbPf4maQ2CalpYqEw8fDiP1Luc6Mn6t9MoOfz9iM2zKWIo /SWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=t+2bEOS8sQMLPpamnPGcP7WGEd0XhmvXigQQYpxuAjE=; b=Po47w+qKDv2q5rFYPEeeySwmxMMdSY+1H4GEYcqmz8GxuKlmn+B0Rwqi2Wt4puboli XFagZWaU89RSYvBqQwHaULXImK81zwljVRSph//X2xki4s8vtHoBbWZzYAr8LYtmk4AU NHExUqbRPTwd+sNxKSb7gQMUjWwgqTnloip5B/fCvkRdoiQHwSZ0idraR6pjCoe6NEBZ uCacYaiygi8POwRF+1OujKWLQdG7luMVWrhFPdxOr7tfEQ10YqXETAVUKK4d0/qy2U8L i06BQRGYrN4urGgIPAFFfcoffFrDi5boq1e83lmbR1TbUJ7wqjCLfb/oqXlNCuFis0se bPpg== X-Gm-Message-State: AFqh2kqidmPfw3cZCXYqylqCV+jWbiEQl272qQoQV0DLckVzH1uXhupb TD12NN+3nsNwazP0uRl3e/a5BvM48D7pj4mB X-Received: by 2002:a05:6512:2506:b0:4b5:b46d:e60 with SMTP id be6-20020a056512250600b004b5b46d0e60mr14866768lfb.27.1672927430063; Thu, 05 Jan 2023 06:03:50 -0800 (PST) Received: from ?IPV6:2001:14ba:a085:4d00::8a5? (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id a14-20020a056512390e00b004b5872a7003sm5495806lfu.98.2023.01.05.06.03.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Jan 2023 06:03:49 -0800 (PST) Message-ID: <8e761ec9-6d98-53f1-20b4-f08d63a4940b@linaro.org> Date: Thu, 5 Jan 2023 16:03:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v3 2/2] clk: qcom: sdm845: Use generic clk_sync_state_disable_unused callback Content-Language: en-GB To: Abel Vesa , Mike Turquette , Stephen Boyd , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: linux-clk@vger.kernel.org, Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org References: <20221227204528.1899863-1-abel.vesa@linaro.org> <20221227204528.1899863-2-abel.vesa@linaro.org> From: Dmitry Baryshkov In-Reply-To: <20221227204528.1899863-2-abel.vesa@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org On 27/12/2022 22:45, Abel Vesa wrote: > By adding the newly added clk_sync_state_disable_unused as sync_state > callback to all sdm845 clock providers, we make sure that no clock > belonging to these providers gets disabled on clk_disable_unused, > but rather they are disabled on sync_state, when it is safe, since > all the consumers build as modules have had their chance of enabling > their own clocks. > > Signed-off-by: Abel Vesa > Reviewed-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry