Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4967260imm; Tue, 31 Jul 2018 03:20:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdYaCaDNCVJz2+Z7/o3ZBGVihmw9LICjltoG5+JTX7NSaud9V+r7IwH+7dxVjF3rBSxy7he X-Received: by 2002:a65:520d:: with SMTP id o13-v6mr19622572pgp.282.1533032454295; Tue, 31 Jul 2018 03:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533032454; cv=none; d=google.com; s=arc-20160816; b=gdNqWgS9bNOIGpEtnM4O27GXMgRJsMq/ymezTANjvMkoC47msuWD8ymcYpE6tvb2xU 7mCML12d5A2jsUqhxRqz1vjGUpIlnyGLHrkxDM2SKjNGzUXbYK614tkgbVWeZQSh17eP nWK2MpbDcju4GsAw2TUQeZ5FJSnI961qdVcHllOL8JvKt0Muw7VWa/QogMsHIup+3WIT 1ZzbFbQ0cnJsTDqkfG9ME5ZFXCOg5LMTXjy2iXHBXTkgqLCwTJuRvIBbFoqDeVfJRUFy uOSOK4yKT2jAcYyhsjJq+TS1S3BDnuqI4PN/zf1ARQ74DcBxkbplCpEsFWugJMXRXL13 RkXQ== 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:arc-authentication-results; bh=CvSty1wZlLwS4OxglbVMARfzfOT8CQv2RNwH5bg4YyQ=; b=eHgtuRXRFB8AxqIAwwoGdel0W9EgcP3vP5ZlyyMfPF7G9PJ63euwIsSBVndYnFqJ4T 20jAUSqrfNga+H2m71ak9rXPrsO/SsrNNWW6rTnKdzYaEG4CTx0/lUKW4iQLBPe5J0Ci t9MBk0PhKD6mndExyzqXC1GkDlDkkAPuk2RI2j/u6qqzsM6U5mnhZEgGco/0oo2JwCQW jUTJNoRzmkiEaUjATFiUIAvivsSrihc8t/bGELGJbyjJeQVo3OG06jqkpTw4gA32+OB2 mLHBRzwNm6J1aT25kQffnNamuGEp3j9CqdQtQsPX4MUNNeYbNyYUJBVEQpy3IbUPv8qq 13lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ASpEQeEa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22-v6si11947709plo.123.2018.07.31.03.20.40; Tue, 31 Jul 2018 03:20:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ASpEQeEa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731366AbeGaL73 (ORCPT + 99 others); Tue, 31 Jul 2018 07:59:29 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:50462 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727409AbeGaL72 (ORCPT ); Tue, 31 Jul 2018 07:59:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CvSty1wZlLwS4OxglbVMARfzfOT8CQv2RNwH5bg4YyQ=; b=ASpEQeEaGgi5Fo1R4P5kauW42 Hoz7u48n5U9FZ5muEBxBeEEPGYSOxexLdNOYhpiL/u+cqHZsZnwLdVyuqQqnMBkkBKKvqcUlecWSN tqPMk7r3prkSmeygPUil32CztnXj2RR+cCqbMMJs/XQvdiPNlfG6N3q2lcHLfUWjTSzt8=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fkRkl-0006uU-W3; Tue, 31 Jul 2018 10:19:44 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id A74DA11242BD; Tue, 31 Jul 2018 11:19:43 +0100 (BST) Date: Tue, 31 Jul 2018 11:19:43 +0100 From: Mark Brown To: Takashi Iwai Cc: "Agrawal, Akshu" , Pierre-Louis Bossart , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Alexander.Deucher@amd.com, djkurtz@chromium.org, Liam Girdwood , open list Subject: Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function Message-ID: <20180731101943.GB5719@sirena.org.uk> References: <1532686422-1790-1-git-send-email-akshu.agrawal@amd.com> <66c8b8c4-bdd0-0129-5e5b-850890cfdb8d@linux.intel.com> <20180730155030.GP5789@sirena.org.uk> <7a88c7b4-d31d-b044-bb8e-a866d49d1256@amd.com> <5b3249cb-6212-6a14-b644-7548cf0ad00c@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline In-Reply-To: X-Cookie: Save the bales! User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 31, 2018 at 11:25:11AM +0200, Takashi Iwai wrote: > It's not necessary that all CPU dais provide the pointer callback. > My suggestion is that, if CPU dai *wants* to provide the base delay, > it must be tied with the position value, hence it should provide the > pointer callback. If CPU dai has a pointer callback, > snd_soc_pcm_pointer() skips the component pointer callback but uses > CPU dai pointer callback instead. However since it's not supposed to be providing any DMA a CPU DAI really shouldn't be doing this... --U+BazGySraz5kW0T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAltgN74ACgkQJNaLcl1U h9CQ4gf/RXoOOGmwEbj68LmfJRHuo044hHK6wY62bwec5FoeGWMy9Pk3rvq7tvHc f/7DFEYQRTB/d4cyEDUQiqm1eHIFhI8sohOWaRWJr28k8eQYkM1uA8KxJ5b11OF3 LQKCNqhLjVYpi+MgVJAe4OqE4t3B5tCwVzXfBZsI2zFeFBJztMYw9gcly/dpIhVt 3PVTpXzPcQckxgu/e9Edc5lOmEEL9uid+xEH0jpgq8I1OI1gBu/pJqME3+N/iGwF SetGm1Z53pPTbn1+Kxy5PLnrSuxbKEB3pPxnIJOHCIlGnwaTzbzg0iTPg545fh35 fK6d90zXpQBsJr6i4clAskVJAoZEOA== =S/fZ -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--