Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp241512pxa; Fri, 31 Jul 2020 10:46:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK7zOIK3u+0IeyVgYrUKNz2tsSXMeEUdE553ilxGYEavx1mpnS5APLvKzbCMvcgeXwbJR0 X-Received: by 2002:a17:906:4094:: with SMTP id u20mr4920934ejj.553.1596217566540; Fri, 31 Jul 2020 10:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596217566; cv=none; d=google.com; s=arc-20160816; b=G1A3CNWpuVOmd7r9sFaooGVBqrhAq6YdedWstFKll+emXWBYRiyRKNjE34M1+X4UD+ /B8cmHFXtiEem/O+xsXWAKnN/r1zpR1uEkIBOceV90KupKzJ10SsJdQgVs/OMbJR2s3v fvXAKjCdUfLC+/o78REEb16zPmFKE8XdbjDV4Cw8UZ9i2/XnLSNtRdR3skg9r+C7mem4 KItokD2RwF1jtlSduETLhcn039cBN6YSNFERcJrKUzNIC+Bz0SpIaRPidXvYS8CIl71d DusQF5BVaDJf/0QoVRoOe35CllOWZ0tjK1pp5sazG2T6e74IyVYwCVzXa3uoCCeVU/uy 4H5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aMLgBcLksqNT2lWU557c2VJ3KOkmwgGEGZGBjr4gNa0=; b=vtS+mE+yx5ItqXq4sV64KQlGkKXkutHrzNwVg+qg7DEFSvioAfU4JKYYm7RIL+PZBO JzfbYMcucdmWTOMEA+BqCUAU26xw+cRTYtQBgnDnDJ2igNw12GFJNFVzhll8VKkaG/Nk 1pYjKs3wwB578adlqjbUfa9xthEICvW1ek7klXJua74SifcNZAxjzjoFE8IptFexIW/D oPt0TK1XkajgAPjMPMwkGfi0dq7aaq3Sv7fUKrwik6LJzTCOVFMi9NKK3sUjSpX6CkNY oNv2cDJqVvWVoMom9EGIcG6sr6NV35Vror9r3dl3QXvP99ZTsHhb/sgAGqYvB3SUfmgZ YVCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1Gn+rYBx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by29si5546431edb.452.2020.07.31.10.45.44; Fri, 31 Jul 2020 10:46:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1Gn+rYBx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733153AbgGaRma (ORCPT + 99 others); Fri, 31 Jul 2020 13:42:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:58524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733265AbgGaRm3 (ORCPT ); Fri, 31 Jul 2020 13:42:29 -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 1620D2083B; Fri, 31 Jul 2020 17:42:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596217348; bh=1RBJrByuU1/4YwH7R7c4LoRXyjsSYMzkPBOWevrI01g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1Gn+rYBxy/1RR7v0EzwvHkDTLU3XQqh+OPCnvh/csSGj/3+GWe+7hjTF+3qa4xilB Xy7aqJY5CtRnyLrJA6QcmvjxrgpO6op0Q2fVH0eaomPAFXnf0nsDUOQwnblR33tvTc CoAEdiePSFluw00g8kTPlbfIHXYbOWeXwcp1X1sk= Date: Fri, 31 Jul 2020 18:42:07 +0100 From: Mark Brown To: Jerome Brunet Cc: Pierre-Louis Bossart , Liam Girdwood , alsa-devel@alsa-project.org, Stephan Gerhold , Kevin Hilman , linux-kernel@vger.kernel.org, zhangn1985@outlook.com, linux-amlogic@lists.infradead.org Subject: Re: [PATCH] ASoC: core: restore dpcm flags semantics Message-ID: <20200731174207.GC4510@sirena.org.uk> References: <20200723180533.220312-1-pierre-louis.bossart@linux.intel.com> <20200729154639.1983854-1-jbrunet@baylibre.com> <2ad13f95-434d-376a-bc38-b209623b461e@linux.intel.com> <1jft998jbe.fsf@starbuckisacylon.baylibre.com> <936d6e37-0ad0-b0d7-814a-1ace12087746@linux.intel.com> <20200730185229.GH5055@sirena.org.uk> <1j7duj98wk.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QRj9sO5tAVLaXnSD" Content-Disposition: inline In-Reply-To: <1j7duj98wk.fsf@starbuckisacylon.baylibre.com> X-Cookie: Some optional equipment shown. 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 --QRj9sO5tAVLaXnSD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 31, 2020 at 02:16:43PM +0200, Jerome Brunet wrote: > One last thing I'd like to understand. Is this behavior of throwing an > error going to applied to the non-DPCM case as well ? so at least thing > are consistent between both cases ? > IOW: > * An error is now throw if dpcm_capture is set on the link and the CPU > DAI support playback_only We should definitely complain about that. > * on non-DPCM links, will an error be thrown as well if playback_only > is not set and the CPU on the link happen to not support capture ? I think we should move towards not needing to do that for DPCM. --QRj9sO5tAVLaXnSD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl8kV+8ACgkQJNaLcl1U h9B67Af+MxqJXiRcEr3b1wsfZYNzZAmN8zNYmZH8ubxUHrcXWUMDl5SAjY/+aEMq JL+V4yKWh6qgn0fB5NoCNak05vKjZ12E3RpBZu7zN5q620XE3DXC45b+2pv91DCn FBVrTazkRYfe2IOp2odw47F5Mfnd4x4yfiTuIgGgolmmC8uXeTIZ5TIUGzrPwKoX aZESOyB5mglx21aMK4JqHah0Lo/fzYIxjdejoAG2yClR11CdHKgPxI6JQA6+/FQr 17Xx+Xd2pd4rhdOIJ91Shgmd5jIyroODzlU3k7PIiNPGeCMP7MlzwUv6ehBOPUGU n+e6KyufvWAE7FCqi86jv6GQFhguPQ== =9eeM -----END PGP SIGNATURE----- --QRj9sO5tAVLaXnSD--