From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2718C433EF for ; Mon, 9 May 2022 06:34:29 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D83C11899; Mon, 9 May 2022 08:33:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D83C11899 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652078067; bh=+A/eYgl7HZZwEPuWOCcBdPtKm4G+Gnd+d5DfAahMbzA=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=J3urVzJt8FvUuN2aJCCiz8qrTuXnQWxUL4BASWYciNRuhufb5edV6RtuqdL74An1T D3amCMDUnGji6m2N8lPwgoEx9quvyOnMDxFVJET9J227mQ/5j7kkQXv9A/IffRZAqf uwcxfbznJf6CTItTo+Dg20nxhMWXjMwOrrTNUNII= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8109BF802E3; Mon, 9 May 2022 08:33:32 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4B34BF8047B; Mon, 9 May 2022 08:33:31 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id EB8D1F8025D for ; Mon, 9 May 2022 08:33:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EB8D1F8025D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IWxZLlR/" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C4E26611D9; Mon, 9 May 2022 06:33:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2B48C385AB; Mon, 9 May 2022 06:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652078007; bh=+A/eYgl7HZZwEPuWOCcBdPtKm4G+Gnd+d5DfAahMbzA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IWxZLlR/aKi+U2YSTpIf2e/4GefVjQpu8L3OzO2VI/MxzHN5KZ8/h+7QmB5rPbkPU xcPjSKhTUmk9hp+IAyQOTOIuabloO1DjxdpbUgEemg8YwEpKrbbzpHnTlBqKIkz3IL rvTxjMFsRaJSYpOLwBfIK8ZxYXI1yqFA/lbYQnajVgKBgudwo6opeXl2pRlIeWoEhB PnG5BPGbuqrt/KRzGYY1znCk3Y7n7Aun4kLRYcuzfcgZwm4W1A3dr5b3Zbq+f1hDH0 pqksRnLywYTysgMg6QyMhmzdTFWOItzd/r0TCQHTBIQhRo4BMctcU97jw9DPR2uxR2 NcmdYBJcuIA/Q== Date: Mon, 9 May 2022 12:03:22 +0530 From: Vinod Koul To: Srinivas Kandagatla Subject: Re: [PATCH v2] soundwire: qcom: adjust autoenumeration timeout Message-ID: References: <20220506084705.18525-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220506084705.18525-1-srinivas.kandagatla@linaro.org> Cc: alsa-devel@alsa-project.org, Srinivasa Rao Mandadapu , linux-kernel@vger.kernel.org, bard.liao@intel.com, pierre-louis.bossart@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 06-05-22, 09:47, Srinivas Kandagatla wrote: > Currently timeout for autoenumeration during probe and bus reset is set to > 2 secs which is really a big value. This can have an adverse effect on > boot time if the slave device is not ready/reset. > This was the case with wcd938x which was not reset yet but we spent 2 > secs waiting in the soundwire controller probe. Reduce this time to > 1/10 of Hz which should be good enough time to finish autoenumeration > if any slaves are available on the bus. Applied, thanks -- ~Vinod From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D595AC3527B for ; Mon, 9 May 2022 06:38:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235881AbiEIGky (ORCPT ); Mon, 9 May 2022 02:40:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbiEIGha (ORCPT ); Mon, 9 May 2022 02:37:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F7416A134 for ; Sun, 8 May 2022 23:33:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C4DD460F24 for ; Mon, 9 May 2022 06:33:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2B48C385AB; Mon, 9 May 2022 06:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652078007; bh=+A/eYgl7HZZwEPuWOCcBdPtKm4G+Gnd+d5DfAahMbzA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IWxZLlR/aKi+U2YSTpIf2e/4GefVjQpu8L3OzO2VI/MxzHN5KZ8/h+7QmB5rPbkPU xcPjSKhTUmk9hp+IAyQOTOIuabloO1DjxdpbUgEemg8YwEpKrbbzpHnTlBqKIkz3IL rvTxjMFsRaJSYpOLwBfIK8ZxYXI1yqFA/lbYQnajVgKBgudwo6opeXl2pRlIeWoEhB PnG5BPGbuqrt/KRzGYY1znCk3Y7n7Aun4kLRYcuzfcgZwm4W1A3dr5b3Zbq+f1hDH0 pqksRnLywYTysgMg6QyMhmzdTFWOItzd/r0TCQHTBIQhRo4BMctcU97jw9DPR2uxR2 NcmdYBJcuIA/Q== Date: Mon, 9 May 2022 12:03:22 +0530 From: Vinod Koul To: Srinivas Kandagatla Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com, Srinivasa Rao Mandadapu Subject: Re: [PATCH v2] soundwire: qcom: adjust autoenumeration timeout Message-ID: References: <20220506084705.18525-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220506084705.18525-1-srinivas.kandagatla@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06-05-22, 09:47, Srinivas Kandagatla wrote: > Currently timeout for autoenumeration during probe and bus reset is set to > 2 secs which is really a big value. This can have an adverse effect on > boot time if the slave device is not ready/reset. > This was the case with wcd938x which was not reset yet but we spent 2 > secs waiting in the soundwire controller probe. Reduce this time to > 1/10 of Hz which should be good enough time to finish autoenumeration > if any slaves are available on the bus. Applied, thanks -- ~Vinod