Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp156117rdd; Wed, 22 Nov 2023 11:59:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGG9RlV7L7piVFFZAgJo1YONVmeBhTaUwtIcn6+QOjmeDxI2bjsusw66iDYDgMVPhNjeuL+ X-Received: by 2002:a05:6a20:e30b:b0:186:bd68:facc with SMTP id nb11-20020a056a20e30b00b00186bd68faccmr3862263pzb.28.1700683147867; Wed, 22 Nov 2023 11:59:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700683147; cv=none; d=google.com; s=arc-20160816; b=PxH70zaO7SiytunT1UgmLcrzSvymBUkhNhMOk1gvuSaXNllsXAjZU8tMFluV2/ZbQH ft6WPYwr5YKr5jeEVuFosHS6m0Wsh51Kvaouk3MjuCg4tnhi3Mqf4tX8jI2u7CviPLku zuDc3iOxODUYle93IDQcvkPb2EdbGfe8XGuIxvYxFc8LtiImPHEkLV08MYkR/DFwSUhM 04XXsFCvnZ4BExIUDesJ2Hrc74FtDcZxIIwq234ZS1namdu//C7+VhT8MnJn6ie+/DaX MLSQoke0+CF9clSWB/XpNZLkZrWNS5qe6R3fCcQiErr/XWinRxgOdkj1+jAvfCi8d8uK 1LeQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=owGEeKQSkUhkxsVwujRwMFyJouN+ra21rm+Zo53wjqY=; fh=7k3wUhGaeUpl0PsuOnV5GelSbvOvE4PF6BwlWh3Fzqg=; b=GfOaMEK/6RIr1RIUGcDykRgvnRx794BnhmClq2kbDposDxUVwpDv5l+vd32FC3nxLt 51M6vsg8apWvheodtBdXIXI3XShulc3CBOQT53yGgT2weNL+AmUrrP411HodvfgQfbWS qWhkU9bZ81DGmDvGFcnVUklZLswBNcThGdnXT75z36Fz6A5i+C40y7pXA35Q9Ye/U+nP 8at7AnTp2GXbvzMJy5UrcS1Nu4xhPwk6kvwiaLC7N+hYQDVdOfWmxgkm47e35Y71dTLO /ywNVcLbLFjIaKhkc89AW+bD+SpM2J1SECA3FTFBnQRtrKrozHEgmvAdEkZX2Qb8/z6+ +hYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tvaT9HmK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id n15-20020a170903110f00b001c9faf1439esi134334plh.288.2023.11.22.11.59.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 11:59:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tvaT9HmK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7A78D8246E04; Wed, 22 Nov 2023 11:59:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231623AbjKVT66 (ORCPT + 99 others); Wed, 22 Nov 2023 14:58:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231430AbjKVT65 (ORCPT ); Wed, 22 Nov 2023 14:58:57 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 874E312A for ; Wed, 22 Nov 2023 11:58:53 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-507c5249d55so120370e87.3 for ; Wed, 22 Nov 2023 11:58:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700683132; x=1701287932; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=owGEeKQSkUhkxsVwujRwMFyJouN+ra21rm+Zo53wjqY=; b=tvaT9HmKRdWu84mo5ZPHWsY8T9pmn1kNg0kicHvaDcySX/AY4EBXLHFBAPShQ2dKnH aWjjKBBhnY2SabxcgPt19YuIAE3vlIdYpRQtY7G4byKJxj0e7qVC4YVGyjyOiSZ0/zWb 04yTfH/DkJEbargl75isHL5TOP+AJsas9MLcpQTwndFTFhEZfuqs4AEpFdThrx5l37eb Z6t9CQAreVFxVWYF7rHtlMHnHw6HRAKsVRnlvlUOrCbywTrglqpXob1kl9kAl8XgUpdl 7CUer/lEy2akSBEj3B00r5gShYAUbezhLQJ41cDT7QHFVyWuDJoz1ngD6k0npX7whSRp voeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700683132; x=1701287932; h=content-transfer-encoding:in-reply-to:from:references: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=owGEeKQSkUhkxsVwujRwMFyJouN+ra21rm+Zo53wjqY=; b=vgd1wQ2OZJ3IjBa3aA9v9B9EW5Xdl3MjjT+CSsLXrALwfHy5HD7svzFjltak6hxFoB LNnsHETphMJF1exQUenbBluDN4Cvpy+lwWBo8YhdyDa3XRa3yTlW00gmq7pGjgeATjCd +Dfh8F1Whs+1UdS0zc9sLdYqZPWTvf182BhmSA8ecu1Uza2xrX/JLTdnUP/Yu/LvhEhw qf0ZxBCMgT9WPZQHAkdrZIby75vz370wxv4jkpKcaqdm7umONkbH6Iy7y2/qWqgubwDG Tz+cqw42jLszXb4uqqfTYILjcu4uoEObQpw31srvNAnolC9Ow6tABuOa6XkU/Ma6BNGS WL1g== X-Gm-Message-State: AOJu0YxxjRESUlaAOGYDu9te88Cxzfhq15IasLh4/gOlFVZw1Uac1wgK FvUZBUUsmunCgeMoAm3/rUC14Q== X-Received: by 2002:a05:6512:b86:b0:509:8fbf:7af0 with SMTP id b6-20020a0565120b8600b005098fbf7af0mr1044667lfv.69.1700683131795; Wed, 22 Nov 2023 11:58:51 -0800 (PST) Received: from [172.30.204.74] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id u19-20020a05651220d300b0050300e013f3sm1935876lfr.254.2023.11.22.11.58.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Nov 2023 11:58:51 -0800 (PST) Message-ID: Date: Wed, 22 Nov 2023 20:58:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] soundwire: qcom: move sconfig in qcom_swrm_stream_alloc_ports() out of critical section Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Vinod Koul , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20231120190740.339350-1-krzysztof.kozlowski@linaro.org> <20231120190740.339350-2-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: <20231120190740.339350-2-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 22 Nov 2023 11:59:05 -0800 (PST) On 11/20/23 20:07, Krzysztof Kozlowski wrote: > Setting members of local variable "sconfig" in > qcom_swrm_stream_alloc_ports() does not depend on any earlier code in > this function, so can be moved up before the critical section. This > makes the code a bit easier to follow because critical section is > smaller. > > Signed-off-by: Krzysztof Kozlowski > --- Reviewed-by: Konrad Dybcio Konrad