Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4003053pxb; Mon, 21 Feb 2022 09:55:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaBiaqs/7cQy53aJbVZGNuRMvDFxn9D8Qy1jpJtg+WLzr8y/iE+BQcMpRCZaItkUtOKIMg X-Received: by 2002:a17:902:bf04:b0:149:c5a5:5323 with SMTP id bi4-20020a170902bf0400b00149c5a55323mr20236567plb.97.1645466147338; Mon, 21 Feb 2022 09:55:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645466147; cv=none; d=google.com; s=arc-20160816; b=u7TQSwRY6wdspcrhVw/L+w7J8zdktzJ2m0gjpHCJqsVzVWxHzhE/iLTPUoicJcaQdE 94VnZjBr2EzIABnOcDQNcXcBiQ3jjxOr0zeqdseuk8sYZpvi4PKg8GdzpS+OJdHrP0IJ z4n/jex2ABUM0lTc5b4afkGBSooZMGzCPJlsc/opC1RhIllwxEArcrVXi5fLNmC7M3F4 fsorbx+dZFQ4Ijxe5L39ZFHuoW7dC3bVaCSomec3e4/K9qQkCVRmiRJyxCrlAoTYpEB8 gTcAaITTsy54lD1tuKPR3GQwzTZbou/TljIaOA7nchsJr7mz7zXOUvghahjKmzV60aCK kEPw== 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=zlMFpcP0zNNriVnT5doP/SyJTwdm7nH+VKFwP5oEA8M=; b=R5WUDVh0lMZCem7pd/d29uIwYllTI5B5CYe2EVvI6ismG/49mRxUrrwmhKUWD/KAQ8 KaB+xuo1n3I6cKBSevKd0Dms8sMt+erSXjQm8VITRe4Hqyyg/QvrsmzzUGC1vITosF1t b7Uz0P546oFrMrXLROP/YI9jilaaxHFjEepzza689aCaTrqTuPBPJR92PB1M1k0s2p4g vK220E8bZLe/+WoXuJxofJtxwoBLtHKWpNT4wl/1Scl9ka8XKTF+Mo3bTW9ZoSTUOi/R AMg8uV3a4LHXvV6lDuIuGW66i0DJjHb8QsjuXitqG94ecqeiloOuJ39R1J6s6Mo+cA2+ 7ctg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yR2PUefh; 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 g6si4650906pfc.227.2022.02.21.09.55.31; Mon, 21 Feb 2022 09:55:47 -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=yR2PUefh; 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 S1379943AbiBUQMZ (ORCPT + 99 others); Mon, 21 Feb 2022 11:12:25 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236097AbiBUQMY (ORCPT ); Mon, 21 Feb 2022 11:12:24 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE1072BCE for ; Mon, 21 Feb 2022 08:12:00 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id j17so1279270wrc.0 for ; Mon, 21 Feb 2022 08:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=zlMFpcP0zNNriVnT5doP/SyJTwdm7nH+VKFwP5oEA8M=; b=yR2PUefhHHXddq0ZZeBLi0plQyYgvn0D8x3KItsVGFh6ni4JOUJbjnoBJqWJ/9qpHp RGN3lyzVFfzJqFUgngJEy08hEqOjt0iSgamn1nDIDemPbWeCXMif4BfBmIMKpKFGfLmv AXUWG2HqimBK1BM08WiBrEGwp2YT8BLO3YYndzkgujGRwykzkBUuqQptkpw28rBrY0Qq GWNptMlkuoIlcXdZT1WuIicQWe+xs6vKUlyxkItsmx/60HD7/t3uXhmp+JkpWg0+MycQ kcyxccYPfTha0/+REIyv4f5xIC3B04Eu6vXwRhxr3If4ld1wbjoH1UkRUoguOZ++3EmC uS2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=zlMFpcP0zNNriVnT5doP/SyJTwdm7nH+VKFwP5oEA8M=; b=K1zV4t8qQ/Teag+gR1nF2zifhI3c9uYvurlIkmBhZnXA5QbbdXVMiUjSkn/Qc/BJhJ OOYw5vF50AnlbReYFLgINvCooRFDLQ2O6v6IzNIhUszbEYPjoeSIOXMxnqTbav/E+sn7 91DFJQPbizdEP9oofiUwqq+E4lUA/xQpBpuvQc6lQ6Ec6m4gSiLbCDN4tahV7t+TXxJs c7Zohq1tb2e2z9IsfDCWgXKjU7Nf9T6qevxWFdAxd7dPWVIu9IUWdTFw7IXNtejMTrUV I55ZLLQ445Gv9hShMuIVxdVYy1J7/qZkVvY8W7ZrFmwYB5dp76GR9WrW0fJyxbuqWGLF u0ZQ== X-Gm-Message-State: AOAM5313HikhKZ0KlO9ZOJkzcYJ9Q11uIcYorzKL8s52yB0gobbmWFxA hQ578XhvT545+KiOdJ2xpUdPHw== X-Received: by 2002:a5d:64c3:0:b0:1e5:94d3:5bf2 with SMTP id f3-20020a5d64c3000000b001e594d35bf2mr16370510wri.488.1645459919309; Mon, 21 Feb 2022 08:11:59 -0800 (PST) Received: from [192.168.86.34] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id 24sm7818702wmf.48.2022.02.21.08.11.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 08:11:58 -0800 (PST) Message-ID: Date: Mon, 21 Feb 2022 16:11:56 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 09/10] ASoC: codecs: tx-macro: setup soundwire clks correctly Content-Language: en-US To: Mark Brown Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, quic_srivasam@quicinc.com References: <20220221131037.8809-1-srinivas.kandagatla@linaro.org> <20220221131037.8809-10-srinivas.kandagatla@linaro.org> From: Srinivas Kandagatla In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On 21/02/2022 15:38, Mark Brown wrote: > On Mon, Feb 21, 2022 at 01:10:36PM +0000, Srinivas Kandagatla wrote: >> For SoundWire Frame sync to be generated correctly we need both MCLK >> and MCLKx2 (npl). Without pm runtime enabled these two clocks will remain on, >> however after adding pm runtime support its possible that NPl clock could be >> turned off even when SoundWire controller is active. >> >> Fix this by enabling mclk and npl clk when SoundWire clks are enabled. > > A lot of these commit messages sound like earlier patches in the series > introduced bugs which isn't going to be ideal for bisection. Yes that is true, I did think about sending this as a fix. Adding a fix tag would not really make any functional difference as we will be hitting the issue only when we enable pm runtime in codec and SoundWire controller, so I did add this as part of pm runtime patches. Without runtime pm the clocks are left always on, so it worked so far. --srini