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 D58DDC433E0 for ; Tue, 16 Jun 2020 14:53:53 +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 6588220679 for ; Tue, 16 Jun 2020 14:53:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="oMNGOL5l"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="yS4ku52I" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6588220679 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 D7C93166C; Tue, 16 Jun 2020 16:53:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D7C93166C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1592319231; bh=o0Bhg6+CdsjgFDzC6GZL1NJgiQTDPMtCUhAd0vdksSw=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=oMNGOL5lMr7r3UQ5QCqk1vnM6O5W9FO9X3MlnDKyoI1BXhSm0L5ikD8LfbkcBr9rD /xLQUxCeNYHTfa2ec2HcVGPtCXY6gGLVvPkUWbKIG0/IBd7oSLkcLMwhtkdSMwByJ4 lK6HXISN0+3piMyfFrvXkcWQLaqoYcX85cIB/Kfw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 63F35F80217; Tue, 16 Jun 2020 16:53:01 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1981DF8022B; Tue, 16 Jun 2020 16:52:59 +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 66F9FF80101 for ; Tue, 16 Jun 2020 16:52:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 66F9FF80101 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="yS4ku52I" 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 3A82C20679; Tue, 16 Jun 2020 14:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592319173; bh=o0Bhg6+CdsjgFDzC6GZL1NJgiQTDPMtCUhAd0vdksSw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yS4ku52IvXbM/Et+Ox3vxRA5LQDWhSZ7H1iBMIajdL0K1SLYSNgftlCF31s7DFKVc lFINNO5Ax4ui4wSiRg/Q5Mu9quROOTGJ8+8x4jIZ86iM2PKCa10S+c6+w5AGL/cawC nalDGd7dOkQONTIqNJz0ZTZLrN6IIVkbmg22B8wo= Date: Tue, 16 Jun 2020 15:52:51 +0100 From: Mark Brown To: Pierre-Louis Bossart Subject: Re: [PATCH 1/4] ASoC: soc-pcm: dpcm: fix playback/capture checks Message-ID: <20200616145251.GO4447@sirena.org.uk> References: <20200608194415.4663-1-pierre-louis.bossart@linux.intel.com> <20200608194415.4663-2-pierre-louis.bossart@linux.intel.com> <20200616085409.GA110999@gerhold.net> <20200616090210.GA111206@gerhold.net> <254a667e-fa49-240a-6386-7e82df8e5c35@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/7YWha3R2g8GjXQ0" Content-Disposition: inline In-Reply-To: <254a667e-fa49-240a-6386-7e82df8e5c35@linux.intel.com> X-Cookie: Offer may end without notice. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Guennadi Liakhovetski , alsa-devel@alsa-project.org, Stephan Gerhold , tiwai@suse.de, Daniel Baluta , Ranjani Sridharan , Srinivas Kandagatla , Bard Liao 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" --/7YWha3R2g8GjXQ0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 16, 2020 at 09:23:25AM -0500, Pierre-Louis Bossart wrote: > On 6/16/20 4:02 AM, Stephan Gerhold wrote: > > On Tue, Jun 16, 2020 at 10:54:17AM +0200, Stephan Gerhold wrote: > > > For the QCOM case it may be feasible to set dpcm_playback/dpcm_capture > > > appropriately because it is basically only used with one particular > > > DAI driver. But simple-audio-card is generic and used with many > > > different drivers so hard-coding a call into some other driver like > > > Srinivas did above won't work in that case. > Doesn't simple-card rely on DT blobs that can also be updated? DT is an ABI just like ACPI - it's just more featureful. Many systems can easily update their DTs but not all of them and users don't always want to try to keep it in lock step with the kernel. Stuff like this is why I've been dubious about putting DPCM things in there, it's too much of a hard coding of internal APIs. --/7YWha3R2g8GjXQ0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7o3MIACgkQJNaLcl1U h9C6Iwf8DqtSXDce1saLgZazB9BSuYfGkxJTspLp32b773ihq774v2YXBPIjrBNl fAqFCqGIkvEKm3cQUds5a8zb0+IXuaeCwezGqV0p7mbi/QnA5XbUrR61Z7J22swi Rm7US4OYQXmhx8VGmbpqsAkG/pf/WzcDXTbc/ngqTOq5Fd9MEWWGc4EJLW62Dq0I MiTo/QopRpt+QhvtT655FXEKZohDylfgxEQBSuWiyXIfljSGLdQyn+3BGIVaxKzA 3q4jOJ5mHmtWN7Z/z2Qjb5yoQQJim8xFvOq709myh204F3sM5LB4Z+EdsTRlJQ67 GWEpPbBAtuvTLeWT8HX8hNBTQxtlCw== =N9Bg -----END PGP SIGNATURE----- --/7YWha3R2g8GjXQ0--