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 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B72DC47254 for ; Tue, 5 May 2020 11:51:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 262CE206A5 for ; Tue, 5 May 2020 11:51:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588679472; bh=zHBoT/KGlclwyw1KLVdz+tgGbFh+vVpAI9xL1PxTI1U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=V7IkR1FgSkbUMfnhL2zmjWPs4HwlRkRX3I2nFf2EgalNZs/79u83bybMk3SZ35kdz rmH002cE9uosXsxJ3uSL9VxVA1YTMufmPt4jEIbf3u0M+b9XaGkhlSvpHvU++vou6P UveKaOyXgv/wrbmtip0DhUL0beCtJE+Xfx47ok+Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728756AbgEELvL (ORCPT ); Tue, 5 May 2020 07:51:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:41802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725766AbgEELvK (ORCPT ); Tue, 5 May 2020 07:51:10 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ABB69206A4; Tue, 5 May 2020 11:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588679470; bh=zHBoT/KGlclwyw1KLVdz+tgGbFh+vVpAI9xL1PxTI1U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FsNbVa7spd2Y8tI7gvo0xNcUmz1Whzp24fe2RRo/xczxXI/Yx3Yo/JAU0Yh1O80K+ LxhE4qrre5dkF+oH6EcXgtLsqmFfQRHrvtFX5Y4SgIZ95L8mKwEGWTy+9NjarPWJB8 7v9l4sngn1CMqXhkIjeyVzzOCWHBgtP3ej1QcvtE= Date: Tue, 5 May 2020 12:51:07 +0100 From: Mark Brown To: Akshu Agrawal Cc: Ravulapati Vishnu vardhan rao , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Vijendar Mukunda , Colin Ian King , Kuninori Morimoto , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: Re: [PATCH] ASoC: amd :High hw_level while simultaneous capture Message-ID: <20200505115107.GD5377@sirena.org.uk> References: <20200505114023.251409-1-akshu.agrawal@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hxkXGo8AKqTJ+9QI" Content-Disposition: inline In-Reply-To: <20200505114023.251409-1-akshu.agrawal@amd.com> X-Cookie: Poverty begins at home. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hxkXGo8AKqTJ+9QI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 05, 2020 at 05:10:20PM +0530, Akshu Agrawal wrote: > Simultaneous capture on dmic and headset mic is having > issue with high hw_level being reported. > Issue Can be reproduced by: > arecord -D hw:2,0 -f dat -d 60 /tmp/test0 & > arecord -D hw:2,2 -f dat -d 60 /tmp/test1 & > cat /proc/asound/card2/pcm?c/sub0/status What is a "high hw_level" and how does this patch address it? As far as I can see this patch reorders some of the initialzation but it's not entirely obvious what the issue was or how this fixes it. --hxkXGo8AKqTJ+9QI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl6xUyoACgkQJNaLcl1U h9CM5Af+JYWGYgh3XlATPjacnOL+W5keHgZMiQQM+Ga6iTruOWyQnCQn1RoFa0jS YmP9je6E4IGkUqgzXg65+E8fuiY4wWmuNbi7EE8zrBmCd3uJVd7B4gMTp+JU8vL4 0dSiN68vCcL7G8ksqtRd0lslBy5bf4tdlJBejP/KvvaQyObEYZBZdPEqObOsLV+7 hiKkM2bE9cQU2Jl4YhfkuDIozbCglRjX4Z0hwoVaBY6vBK0oIlkh797jFa1T4qsm sUBqDeK45EzB29lyaCYeMg2IggTgpyGfeYTGBCvj78viipVIGnxjNgK60skm/pdX vdbxD0/69T9kMNCvmdMw9fVPjNbk5A== =W0sp -----END PGP SIGNATURE----- --hxkXGo8AKqTJ+9QI-- 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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FF8BC47247 for ; Tue, 5 May 2020 11:52:33 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B69742073B for ; Tue, 5 May 2020 11:52:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="NWGvW2BE"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="FsNbVa7s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B69742073B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 DCDF21733; Tue, 5 May 2020 13:51:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DCDF21733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1588679551; bh=zHBoT/KGlclwyw1KLVdz+tgGbFh+vVpAI9xL1PxTI1U=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=NWGvW2BEqVuOins+ai/BENATRdR0wfkuW5mgNiDOo7nIjSpf8cf8qzW3MJLg94CDu XyAmn5Rr8rxm9E/paNyC12TG4Df+DJ/EIj+kmWaeo7oW4wEtVgLWmuDJfTV6dz6Os4 7UTBZGwBF/XMNg/IcbtItgowB46Qh2cWgBhoq8Js= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A97CFF80171; Tue, 5 May 2020 13:51:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 11F0AF801D9; Tue, 5 May 2020 13:51:15 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8DB40F800EE for ; Tue, 5 May 2020 13:51:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8DB40F800EE Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="FsNbVa7s" Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ABB69206A4; Tue, 5 May 2020 11:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588679470; bh=zHBoT/KGlclwyw1KLVdz+tgGbFh+vVpAI9xL1PxTI1U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FsNbVa7spd2Y8tI7gvo0xNcUmz1Whzp24fe2RRo/xczxXI/Yx3Yo/JAU0Yh1O80K+ LxhE4qrre5dkF+oH6EcXgtLsqmFfQRHrvtFX5Y4SgIZ95L8mKwEGWTy+9NjarPWJB8 7v9l4sngn1CMqXhkIjeyVzzOCWHBgtP3ej1QcvtE= Date: Tue, 5 May 2020 12:51:07 +0100 From: Mark Brown To: Akshu Agrawal Subject: Re: [PATCH] ASoC: amd :High hw_level while simultaneous capture Message-ID: <20200505115107.GD5377@sirena.org.uk> References: <20200505114023.251409-1-akshu.agrawal@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hxkXGo8AKqTJ+9QI" Content-Disposition: inline In-Reply-To: <20200505114023.251409-1-akshu.agrawal@amd.com> X-Cookie: Poverty begins at home. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Kuninori Morimoto , open list , Takashi Iwai , Liam Girdwood , Vijendar Mukunda , Ravulapati Vishnu vardhan rao , Colin Ian King 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" --hxkXGo8AKqTJ+9QI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 05, 2020 at 05:10:20PM +0530, Akshu Agrawal wrote: > Simultaneous capture on dmic and headset mic is having > issue with high hw_level being reported. > Issue Can be reproduced by: > arecord -D hw:2,0 -f dat -d 60 /tmp/test0 & > arecord -D hw:2,2 -f dat -d 60 /tmp/test1 & > cat /proc/asound/card2/pcm?c/sub0/status What is a "high hw_level" and how does this patch address it? As far as I can see this patch reorders some of the initialzation but it's not entirely obvious what the issue was or how this fixes it. --hxkXGo8AKqTJ+9QI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl6xUyoACgkQJNaLcl1U h9CM5Af+JYWGYgh3XlATPjacnOL+W5keHgZMiQQM+Ga6iTruOWyQnCQn1RoFa0jS YmP9je6E4IGkUqgzXg65+E8fuiY4wWmuNbi7EE8zrBmCd3uJVd7B4gMTp+JU8vL4 0dSiN68vCcL7G8ksqtRd0lslBy5bf4tdlJBejP/KvvaQyObEYZBZdPEqObOsLV+7 hiKkM2bE9cQU2Jl4YhfkuDIozbCglRjX4Z0hwoVaBY6vBK0oIlkh797jFa1T4qsm sUBqDeK45EzB29lyaCYeMg2IggTgpyGfeYTGBCvj78viipVIGnxjNgK60skm/pdX vdbxD0/69T9kMNCvmdMw9fVPjNbk5A== =W0sp -----END PGP SIGNATURE----- --hxkXGo8AKqTJ+9QI--