Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5139513imm; Tue, 31 Jul 2018 06:14:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf5AihfKYKGDuCIpTg08XeAuSqjH8V1PKXoN5z6hM5FERDnAKZY/+fKpjRaDZIWOMXqDsO3 X-Received: by 2002:a62:4ece:: with SMTP id c197-v6mr22461553pfb.240.1533042890359; Tue, 31 Jul 2018 06:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533042890; cv=none; d=google.com; s=arc-20160816; b=GYtfVlgZMmXXtJz+yGcu8+/9ulgHAnUAUgZ/TyXApd8EOjmZnPTN0da7AM2i0Basjz HoGf8OztOphfxCaG10jyU/ZOv0x6sxsDSC9f8Nyk5mtDNolnIfyKxpADOPjnMskaI2Q0 RG31w8TjkIUO9ilZkl00h4X9hgEmVdgR92EP8Te8gb4b3xFNdFTZ3HdT7+X9rOenpZfa TlZKAN8GHmgeApcrqy86rpEGKrECrxWcm8f85WdZbp4RaSqyRdRDJXR+4jX69czFYO2H Wsrz808tteieD0Ubo18jdfU45y2TvpJ0UDoxDUvAQzTYGpfjp2w7EfM+KJuYxHmCQCTZ p7jA== 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=R3h1QxgJZjCD4XNYi4rK5Ff9barRj8V9KaHTytEBu9g=; b=Lywlg9Ny5tCh64Gu3w9+l/fgLn3jOXhUNjATgqoUgxLqB5xhWuUYyz0aNIC+JSFO8e v8/B7sdHKFzu39OFuWHk/gFNHTLvUEWt8VYTOnim86MhjsBES4LY+fIywQbvAwPhHf8T bvwUwbbv4vdjXq1rBrEQJVGxRcEw93hYAMLAWxleApP/3PGsoi5tuwloaahbooa+D6jl xWLdgMnTedNuOZcxI1EWIFVwWuDvAyAszqmHFN0NuQHCevjLgxh3R6+ODiBITluwvfVn U689qHkZXBxTimRmBXYSWC/6oExLE4UnSauhPpesOA++Pp7vfUwJBVmvZL01eTQJlIWX ry4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jRxq3ddB; 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 o188-v6si14214541pfo.236.2018.07.31.06.14.36; Tue, 31 Jul 2018 06:14:50 -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=jRxq3ddB; 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 S1732292AbeGaOxM (ORCPT + 99 others); Tue, 31 Jul 2018 10:53:12 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:58552 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732037AbeGaOxL (ORCPT ); Tue, 31 Jul 2018 10:53:11 -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=R3h1QxgJZjCD4XNYi4rK5Ff9barRj8V9KaHTytEBu9g=; b=jRxq3ddBhuAfEI6Sur7TLu8YQ Fhtoh6TIKLDfqhms3lPGHoUgv3vnF5BmoDx63jaLoRd0rVKf06kH9oaR0UPwJGaqK4HYtTzVXPD3+ XDboVCJwdGMPmq83ZGcLjh3zXv7T8vFqc9Svt5IOMPk9XpVNToQcdF92mxbRSRoS4zixk=; 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 1fkUSF-00077b-It; Tue, 31 Jul 2018 13:12:47 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id F334611242BD; Tue, 31 Jul 2018 14:12:46 +0100 (BST) Date: Tue, 31 Jul 2018 14:12:46 +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: <20180731131246.GC5719@sirena.org.uk> References: <20180730155030.GP5789@sirena.org.uk> <7a88c7b4-d31d-b044-bb8e-a866d49d1256@amd.com> <5b3249cb-6212-6a14-b644-7548cf0ad00c@amd.com> <20180731101943.GB5719@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Md/poaVZ8hnGTzuv" 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 --Md/poaVZ8hnGTzuv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 31, 2018 at 12:32:59PM +0200, Takashi Iwai wrote: > Mark Brown wrote: > > However since it's not supposed to be providing any DMA a CPU DAI really > > shouldn't be doing this... > Well, if so, the CPU dai also cannot get the exact base delay > corresponding to the reported position, either, no? It can know how much delay it's adding internally between its input and output, which feeds into the overall delay experienced by the user. --Md/poaVZ8hnGTzuv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAltgYE4ACgkQJNaLcl1U h9DswQf9GWUANKQgU6UT1mqpQLQHXWUl9Jckdv0IvNpbNN68xcHif4AWvvHQ3gaI 127uYUDWgwBdQZ7vr8DS2N0D33IzdkhB2jlWfLyueG512IGrSSSjAAI6BnKrRng9 /TEb39JwG9ITu7wDj2fdP/qK2cJ0V6YnCZtH6HTQfs2w+sn9PD+0bjgwE2GdhCy+ jABd2IgOUyKTC/zNnunIivL/1oU4aVRUCdfyKil7B6HEAhVVVB3PIB7Ow42j68JY 7B39V99ZNv0N083I30w/fQ3wzQu6IHs3iy3s5VcDgfkFWuEMcTbHNhE+OY5owuG/ NI74av/DHJ2qeTYd/RtTxqvPeJs2Kw== =Zrxu -----END PGP SIGNATURE----- --Md/poaVZ8hnGTzuv--