Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp297848pxm; Fri, 25 Feb 2022 08:11:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwG9VHE7jznjcoVcFsaBOdeFeEMMsvdNekfBd5itqzR5rq62OWmpyW7xBk0S5DC2SjiqPgh X-Received: by 2002:a63:41c5:0:b0:378:3b1e:7ac7 with SMTP id o188-20020a6341c5000000b003783b1e7ac7mr1903707pga.266.1645805494608; Fri, 25 Feb 2022 08:11:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645805494; cv=none; d=google.com; s=arc-20160816; b=VfSgPS34S9MOltBysHGbsUjRKC5+3F84eY4hgZIaH3qktUerIULUR/ukCXQUxrrVyk 3A+ZRt43IQm8cGywtUkcdqzDG18qZ8IT9So1RD5FRbG/UmVsUqliJaV4GJ7fEE1qh5o0 FJPEE/Mvt1oT8WN/hqVxcH85x3iqdmP1uqI2YH6pWAijjV8BAl9qQmO9h6VE86iektdU uHrQmUNAtoW1QyvzJZJq6uQHOsNPHB2YvF/FNTk98XYTpJxUmkbbcrrm9nYTLni8wgsX tHMOe7A1IhnU1NrGRB6fIJ3aCrqkAS5nUTBnXjhDXTEx2S+97b2TYWFQzbUBtIrbqJNn OxSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=E2ShHUOrtOZLWXAXYu6EW8hVXUIjgHz04oYFBI5vdm0=; b=IE2aC2tmwpqMp/IvMrFjS911ja70WPzaOyhmD0gRv/AjZ6KGoe3q7nTs6uchxkXnEk XdlZiHvSTC2CpJMbaEPyVV+r5bUWwEH/7osbZzSlEosWhaGwqlsBhTUCGcz3hhSzVcyP QC5cdL/sz+fDCQ3pE2vgZyQ4pVIWSfxwTvsZQhBatk/U39AlJjTJTBIHOyvEUZ5HQXpM UVBVEQgcRYFx1EVYUN0LWy6KRDM/tsBiEyB7YvKEmX4FfOYFWJwrHsXHXExRTVse6o4y xxRqNNMv6rObmKXnC6Op7EC1DboBCNu144AG6RWl2OiJSSA4T4VmWHTbCmWozVogChbC UHww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=bu6WDsCu; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a639356000000b003741fe3cbd9si2185070pgm.631.2022.02.25.08.11.14; Fri, 25 Feb 2022 08:11:34 -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=@quicinc.com header.s=qcdkim header.b=bu6WDsCu; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241349AbiBYN2m (ORCPT + 99 others); Fri, 25 Feb 2022 08:28:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241330AbiBYN2j (ORCPT ); Fri, 25 Feb 2022 08:28:39 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C38351CC7C3; Fri, 25 Feb 2022 05:28:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645795688; x=1677331688; h=from:to:cc:subject:date:message-id:mime-version; bh=E2ShHUOrtOZLWXAXYu6EW8hVXUIjgHz04oYFBI5vdm0=; b=bu6WDsCuH0zyq8gA2ZGm/LGcAT8WzIJIEFBqQ2g4ceGti9ZHjo9gnbTj EUVSPQeinrJVt48tO6eaT0uBoka6CbTh3yQLxiJg5gYAx6ou8GyyOXbgA nGFvg4hfMSjI6SXiDq2YMuUER66TglM8mLN2NELEQDEl/6d0fZGDS2Ffn k=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 25 Feb 2022 05:28:07 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2022 05:28:06 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Fri, 25 Feb 2022 05:28:06 -0800 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Fri, 25 Feb 2022 05:27:59 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH] soundwire: qcom: remove redundant wait for completion Date: Fri, 25 Feb 2022 18:57:47 +0530 Message-ID: <1645795667-20176-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Remove wait_for_completion_timeout from soundwire probe as it seems unnecessary and device enumeration is anyway not happening here. Also, as device enumeration event is dependent on wcd938x probe to be completed, its of no use waiting here. 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; -- 2.7.4