Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp352116pxm; Fri, 25 Feb 2022 09:11:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJySUMFdrOh15QsR0YOj/r5tzRQC27dVu5Y68flljp091pZc/w4ok0vffCOcyMVWhaGUmA5z X-Received: by 2002:a17:902:e742:b0:14f:fd2f:c8bb with SMTP id p2-20020a170902e74200b0014ffd2fc8bbmr8046854plf.43.1645809081166; Fri, 25 Feb 2022 09:11:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645809081; cv=none; d=google.com; s=arc-20160816; b=jSlTNVVfKhfz8KT9XM1Qth6gzob8GSHALdA4XZnTLrCTSlBSacmQWFDDLJlXjBajrE HXM+tMucb5bY/Tc4Xk9DVG6hUlJM/Inm2lZ5Lg1ogY/WNJpjhD7gkNiz1XG2YYmtSODj kNPJvV+6W1cKloCg8/wcxDvPYDEyd4abuN5YGQZa/2x9BoQaAzAR88bfwfyh9mv2RbUK 4EDmcADHAPfJ4XWDCRaYtiNUB3DX+dPUB1HvUPEl1F26AMbWvmI9iruPZhqKvc+qJTga jm5udo81T73c/WGYjYEOeL+k0Hu8wR/Yajh1hYx99oBOaE9zavxHYJjk+IGFTms68r49 JxGQ== 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=LLpFgz78t1oyzWMh4Y4sBh571G9i6nh/jXJ+jWwza7k=; b=aA3oGGtLPoGs37lpYPJztKWjOL9Ubx3nEiRtrmSZQJ8BKJLBcbF87B52IKfLNi3NYq vcSZCNZOWgyDBpwAHdUo4Yg7ZZH27xbz6wzDevRvkwzX9FIxyPH1U9CZc7KjdZLhbn+g KNJbaKvkHUeqyF8/MBuqpEDn7PbUW5sQatqENOmDuqWVDdQIN6lFNj5YGknMJKc2PaS7 ILAQmArC7RItHnhcOz8XJzRRN68e0Cr1+lX7crEJnsAiwqQUsWWRPcEIDeijo/avIS24 R8Xgzz2rfI9ws6d83DWBzLOIL6Ad1LFqDcy8gRZt1Z2E4XJObca6tBUQCAAAdLZ1Q4J3 7+xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qnSHncmv; 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 b9-20020a17090a990900b001bc8d7b15f4si7806136pjp.115.2022.02.25.09.10.59; Fri, 25 Feb 2022 09:11:21 -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=qnSHncmv; 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 S241505AbiBYNhl (ORCPT + 99 others); Fri, 25 Feb 2022 08:37:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241532AbiBYNhj (ORCPT ); Fri, 25 Feb 2022 08:37:39 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C59CD11B5CC for ; Fri, 25 Feb 2022 05:37:04 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id m13-20020a7bca4d000000b00380e379bae2so1692038wml.3 for ; Fri, 25 Feb 2022 05:37:04 -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=LLpFgz78t1oyzWMh4Y4sBh571G9i6nh/jXJ+jWwza7k=; b=qnSHncmvDNQSyhYwHGMPduQc2VHvZllkFXUi8WCqlPYsqHsGyxR7diTmu96tNyuXTX 9x+bEH6fjmLd7nsN9gI993CY2H8nLTNdPb6gMW7NirEFAE7nBZBJprOTc39xjriFm4mu XAPm0YAplY9IcafACSXZHkVYKY+pUxToW8/h5YP2QbePSEZq3kUOXiy1rAIDTXxEzBMp WVabxd+aXfZqvKx1VEX6pl3lsbfhk/TpDsJEJJBqfsdViqm/75f5hWJVLMJQeblI7pN8 3oMkXBdzlipXLk6CcWSaY4eDW0EGo9il0p7ext2xodaVi7ogy4RUR9CqDTV6Cbbow4zs BkTA== 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=LLpFgz78t1oyzWMh4Y4sBh571G9i6nh/jXJ+jWwza7k=; b=36MnRPueDnBwjNTYfmMorvSK7h++p9Ew/skWxDv7gftWxwQuOOlL+XUCdQbVUNjcNy yom5yTRiUXZnM1AebWQnTvUMDZI6TOKhsENra5Z4Mex+16phgWAhXztw994dMaoo8VCk HVhOTWXQO8DMM0b/1HZAFGN5wRRuAvgIAx1+8ge6miL+K/i3fWDQj1f2nneAAW9wNsOR +pJayQcoQsWqBrW0WjmELra04VarmEbJizjTJf9U+0C22Y7XQDhUu0IuK2jFcWhpoq2K uWg9BmP1v242xM/3HjMzkQvgcq5T696zmdoZi+G8ikA+0tIT4XVJ6o0OQ78TW/L5XTgw UkzQ== X-Gm-Message-State: AOAM531cfi3RhL98FMHkG2NtBFC59Qx8RWW9GkOFcG4iFP2r/ZEqrZBJ G1IEQObFw0/WEkpxyu1ZpysCzQ== X-Received: by 2002:a05:600c:3d06:b0:37b:f831:2a98 with SMTP id bh6-20020a05600c3d0600b0037bf8312a98mr2759914wmb.36.1645796223402; Fri, 25 Feb 2022 05:37:03 -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 u14-20020adfed4e000000b001e3323611e5sm2406589wro.26.2022.02.25.05.37.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Feb 2022 05:37:02 -0800 (PST) Message-ID: <861cd4c1-43a9-8175-7ad1-e7e51f5781b4@linaro.org> Date: Fri, 25 Feb 2022 13:37:01 +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] soundwire: qcom: remove redundant wait for completion Content-Language: en-US To: Srinivasa Rao Mandadapu , agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, koul@kernel.org, yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com Cc: Venkata Prasad Potturu References: <1645795667-20176-1-git-send-email-quic_srivasam@quicinc.com> From: Srinivas Kandagatla In-Reply-To: <1645795667-20176-1-git-send-email-quic_srivasam@quicinc.com> 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=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 25/02/2022 13:27, Srinivasa Rao Mandadapu wrote: > Remove wait_for_completion_timeout from soundwire probe > as it seems unnecessary and device enumeration is anyway not > happening here. May be some details on the side effects of this wait would be good to add in the log. > Also, as device enumeration event is dependent on wcd938x probe to be > completed, its of no use waiting here. fix tag is missing Fixes: 06dd96738d618 ("soundwire: qcom: wait for enumeration to be complete in probe") > > Signed-off-by: Srinivasa Rao Mandadapu > Co-developed-by: Venkata Prasad Potturu > Signed-off-by: Venkata Prasad Potturu > --- > drivers/soundwire/qcom.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c > index 5481341..9a32a24 100644 > --- a/drivers/soundwire/qcom.c > +++ b/drivers/soundwire/qcom.c > @@ -1309,8 +1309,6 @@ static int qcom_swrm_probe(struct platform_device *pdev) > } > > qcom_swrm_init(ctrl); > - wait_for_completion_timeout(&ctrl->enumeration, > - msecs_to_jiffies(TIMEOUT_MS)); > ret = qcom_swrm_register_dais(ctrl); > if (ret) > goto err_master_add;