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=-10.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 BD27BC433E2 for ; Fri, 17 Jul 2020 18:36:09 +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 441762076A for ; Fri, 17 Jul 2020 18:36:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="F82ez3FA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 441762076A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com 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 B725B9F6; Fri, 17 Jul 2020 20:35:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B725B9F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1595010967; bh=kqEmt+/VE9QLwRbyz3Ft6d4VRzQ2YHwL5knr7wxlukA=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=F82ez3FA7fA+7hp/Z5fc8DlBQ5flTaZB2bt1uRtGKqKSV5V1zQrmkLiiP6YCdnQrK wQDVY29D4RPeZZ4CpWn7rXFazy0dCRHa1xsiUyN8HFgr6Y/nS6QBPhcP09uUGxggwM 9myqmZ+q47zcoXJdCG5sjCwabhSjLwd+N4rnZDnU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 48228F801D8; Fri, 17 Jul 2020 20:35:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 39D8CF80217; Fri, 17 Jul 2020 20:35:08 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CCE89F8014E for ; Fri, 17 Jul 2020 20:34:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CCE89F8014E IronPort-SDR: yR73a3ZJQ6BVjxbUIhFBv18kOzB1WkSfcdSKp3UUGbq6TwwB6WByl/TvSBRlLWmTxIC/5ieb/b VkPh0kff7VcQ== X-IronPort-AV: E=McAfee;i="6000,8403,9685"; a="148820607" X-IronPort-AV: E=Sophos;i="5.75,364,1589266800"; d="scan'208";a="148820607" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 11:34:53 -0700 IronPort-SDR: gc7zJEwf5NvQw+AuJr3F0M3SalGbVD44pW9D9fqo5aJBvn99xR63VFLx2fkpRsu9DOYK+dMzDD s56nczF9j7AA== X-IronPort-AV: E=Sophos;i="5.75,364,1589266800"; d="scan'208";a="460934442" Received: from bnforneh-mobl.amr.corp.intel.com (HELO [10.255.230.26]) ([10.255.230.26]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 11:34:52 -0700 Subject: Re: [PATCH 1/4] ASoC: soc-pcm: dpcm: fix playback/capture checks To: Mark Brown 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> <20200616145251.GO4447@sirena.org.uk> <20200616164255.GR4447@sirena.org.uk> <1j1rla9s22.fsf@starbuckisacylon.baylibre.com> <8693bcb6-4c90-036d-79f0-87516e47f41b@linux.intel.com> <20200717181833.GC905@sirena.org.uk> From: Pierre-Louis Bossart Message-ID: <581603a5-7d5c-65d9-602d-dbe925430464@linux.intel.com> Date: Fri, 17 Jul 2020 13:34:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200717181833.GC905@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Guennadi Liakhovetski , alsa-devel@alsa-project.org, Stephan Gerhold , tiwai@suse.de, Daniel Baluta , Ranjani Sridharan , Srinivas Kandagatla , Bard Liao , Jerome Brunet 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 7/17/20 1:18 PM, Mark Brown wrote: > On Fri, Jul 17, 2020 at 12:13:14PM -0500, Pierre-Louis Bossart wrote: > >>> IMO, on a Multi-CPU/Multi-Codec link, we should allow the direction as >>> long as at least one CPU and one Codec on the link are capable of >>> handling the direction (not all of them, as it seems to be set now) > > ... > >> If this was a feature and not a bug to have different capabilities on the >> same link so be it. Mark, do you concur? > > Yes. ok, I cooked a quick patch to do this, testing on-going: https://github.com/thesofproject/linux/pull/2293