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=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,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 96FE2C4361B for ; Mon, 14 Dec 2020 17:21:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5291022516 for ; Mon, 14 Dec 2020 17:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408426AbgLNRUw (ORCPT ); Mon, 14 Dec 2020 12:20:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:36420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732189AbgLNRUY (ORCPT ); Mon, 14 Dec 2020 12:20:24 -0500 Date: Mon, 14 Dec 2020 17:19:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607966379; bh=bCVmDKin80UwRLK3QP42XBuzcvX1vaMfWPRWPv/RKFA=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=J8oGUKbeHhDMltp/h3UjokbSScr0C8Vy46jl6y6xphIflhhnROQUaOBaHn2+Lted2 9GY/w4NoOym77BvhcftFfd9JwUZQD7mcbLOqcOwFOdSc5BP/tanFd1mmjPN02SIs6L fRcCOs6mXEMmeE7BxCbsNiqixgECw11Y9Y217Uz6Gq+9QK7JwIrGhBid6xEEfV1t4D yRoIYP6TomDj8n61qI/JLiQNPKnqBON5g1tcQJPrxdmXIgnaT/L44GNfkR6dPiSq1c FPPjmlUbro+pr1kvGc79rLSLdrAGB65JocvZIKkvftgq2zVAOrV24rPa/F3wI5S8YT myM5pAxGnjHug== From: Mark Brown To: Codrin.Ciubotariu@microchip.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, tiwai@suse.com, perex@perex.cz, lars@metafoo.de Subject: Re: [RFC PATCH] ASoC: pcm_dmaengine: Add support for BE DAIs Message-ID: <20201214171928.GB4880@sirena.org.uk> References: <20201202085838.1779525-1-codrin.ciubotariu@microchip.com> <20201208170422.GG6686@sirena.org.uk> <7ab6bffa-f88e-3e2b-287a-89eee2c01819@microchip.com> <20201208193156.GJ6686@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: X-Cookie: Everything you know is wrong! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 11, 2020 at 06:00:55PM +0000, Codrin.Ciubotariu@microchip.com w= rote: > Also, I noticed that the HW constraints added by a DAI driver (a codec=20 > for example) are added to PCM's runtime->hw_constraints, even if the DAI= =20 > driver is part of a BE. Shouldn't these constraints be applied only to=20 > BE and eventually merge them to FE (struct snd_pcm_hardware) if=20 > dai_link->dpcm_merged_* are set? Probably, not sure why it's done like that. --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/XnqAACgkQJNaLcl1U h9BjgQf/f/WBaHkOk3bC8134oouvuQy/LZdSjlSV8PExQ0uwTpHn3L33vpu5DUa0 j0upkz44ZeJTuN9rPuWmlQZPPQiBJMzum7g3SMupNVTHg5pK3jvMzMibOSbpMmGV U0ffm1avkLZl9iD5SPmkjOS5aENk/dDzUDvPrItaEJqN/zcOqh1KGmlmOeOCHd4M w5vh7gWfcZiajAiBj0PLCiiGU8lf6h3G8R/5Qtp+2T81+dH5sKaQlg3BVyG9VU0m 643JshGvppylQj2JBGPS6uIZBHXWX52EUT22nRa/ZRESDBPbf5qH7hE6s6ac30r2 naIKWmzV2O1iz46yH2JWV1FwjF0reA== =gib7 -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS-- 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=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 096F7C4361B for ; Mon, 14 Dec 2020 17:20:43 +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 E030E22515 for ; Mon, 14 Dec 2020 17:20:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E030E22515 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 1C5571750; Mon, 14 Dec 2020 18:19:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1C5571750 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607966440; bh=bCVmDKin80UwRLK3QP42XBuzcvX1vaMfWPRWPv/RKFA=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=V6+BpEfGgfBMVG8iXLsZhPVLw0VF2D9Z3rnQsquUwMgr3egGbufcO8u/GUU8cSNBS jbB9AKIAAzThrVY29/eRbqN4nk3YRGsiV5/gDKS3BldzCWDXLG/quGtRNQpT+C7iCl BGml3MVt0aFLlOgRnpSIljwuJRC5DXLTGf/tDBIc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A0D38F80171; Mon, 14 Dec 2020 18:19:49 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 42C68F801F7; Mon, 14 Dec 2020 18:19:48 +0100 (CET) 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 18FA3F80121 for ; Mon, 14 Dec 2020 18:19:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 18FA3F80121 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J8oGUKbe" Date: Mon, 14 Dec 2020 17:19:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607966379; bh=bCVmDKin80UwRLK3QP42XBuzcvX1vaMfWPRWPv/RKFA=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=J8oGUKbeHhDMltp/h3UjokbSScr0C8Vy46jl6y6xphIflhhnROQUaOBaHn2+Lted2 9GY/w4NoOym77BvhcftFfd9JwUZQD7mcbLOqcOwFOdSc5BP/tanFd1mmjPN02SIs6L fRcCOs6mXEMmeE7BxCbsNiqixgECw11Y9Y217Uz6Gq+9QK7JwIrGhBid6xEEfV1t4D yRoIYP6TomDj8n61qI/JLiQNPKnqBON5g1tcQJPrxdmXIgnaT/L44GNfkR6dPiSq1c FPPjmlUbro+pr1kvGc79rLSLdrAGB65JocvZIKkvftgq2zVAOrV24rPa/F3wI5S8YT myM5pAxGnjHug== From: Mark Brown To: Codrin.Ciubotariu@microchip.com Subject: Re: [RFC PATCH] ASoC: pcm_dmaengine: Add support for BE DAIs Message-ID: <20201214171928.GB4880@sirena.org.uk> References: <20201202085838.1779525-1-codrin.ciubotariu@microchip.com> <20201208170422.GG6686@sirena.org.uk> <7ab6bffa-f88e-3e2b-287a-89eee2c01819@microchip.com> <20201208193156.GJ6686@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: X-Cookie: Everything you know is wrong! User-Agent: Mutt/1.10.1 (2018-07-13) Cc: alsa-devel@alsa-project.org, lars@metafoo.de, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, tiwai@suse.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" --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 11, 2020 at 06:00:55PM +0000, Codrin.Ciubotariu@microchip.com w= rote: > Also, I noticed that the HW constraints added by a DAI driver (a codec=20 > for example) are added to PCM's runtime->hw_constraints, even if the DAI= =20 > driver is part of a BE. Shouldn't these constraints be applied only to=20 > BE and eventually merge them to FE (struct snd_pcm_hardware) if=20 > dai_link->dpcm_merged_* are set? Probably, not sure why it's done like that. --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/XnqAACgkQJNaLcl1U h9BjgQf/f/WBaHkOk3bC8134oouvuQy/LZdSjlSV8PExQ0uwTpHn3L33vpu5DUa0 j0upkz44ZeJTuN9rPuWmlQZPPQiBJMzum7g3SMupNVTHg5pK3jvMzMibOSbpMmGV U0ffm1avkLZl9iD5SPmkjOS5aENk/dDzUDvPrItaEJqN/zcOqh1KGmlmOeOCHd4M w5vh7gWfcZiajAiBj0PLCiiGU8lf6h3G8R/5Qtp+2T81+dH5sKaQlg3BVyG9VU0m 643JshGvppylQj2JBGPS6uIZBHXWX52EUT22nRa/ZRESDBPbf5qH7hE6s6ac30r2 naIKWmzV2O1iz46yH2JWV1FwjF0reA== =gib7 -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS--