Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5156350imm; Tue, 31 Jul 2018 06:30:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeWUm/TIjveELTol2itTCMwv5I8QnkvFBN/tT5BdV8zSo0PjEMu5xtabRhmDVVhgMfCx4aK X-Received: by 2002:a65:498c:: with SMTP id r12-v6mr20901720pgs.112.1533043841734; Tue, 31 Jul 2018 06:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533043841; cv=none; d=google.com; s=arc-20160816; b=Re2YpG5nHP6A0bylyEVWjQvj6SCP4Z6akGMjilH9Oy/kyIWSyjcFXgfUmx9H7JuGEE qnjCHq3KfdVgDjm/UkvV13be051P5bEB4mnMmfBPekYBJTM/GRY4OwXogGVGvXgyENmT aovi9/SFyCFMUBornexdd89+P5sdUaUDsKzeDTBMTDMNpcMufc8aFe+k0vMrGBiLD9PM 3Cf3hoBYBmuFIH5Mt1j9p+D6UL7e2RTXOVSDEIGvWdBr+/tKQCWOWDfpCd3ry41xPcGJ +hkWHY2HcK2+DAWt43HH+FFSoxbw5epOVlU9ASKxfbr4QhJ9F5jCXXdWiIN6uxhERrde Hfyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=g1IplxF30z3LlqFHlNDuitiHWCPLv8BmARKkdfUHnlQ=; b=P3ErLmyjgxi1xMIDkZotYI0xNrfI42vrMq2FhMgiaQoxkZzY3+OHSwbCwLpXTRqfnf meuDe92cTs965gqf09OrK59CkRGRM/8+IpcHloBqRLJU9wKpQfJA9+Jhni93dKiShjOY 6oL9NGpkz074N8NsCCJvIeX6cCUWfXpYd3zXVsjSKegSm4dAPDxjoJHGm1QVnefB5mrg R2DJXfbUWxgsRnRlXR2tRjt+UdiZ9RdswOB67DODw1BUu/ViTddWM4HeHk62CdYbqxuq gUa3jkzR3+p81MEIVsGHGxM43qMEQzFs1DHaApIZRxIRzksWTsGt2jUe2VRopNWUL1cX Cyfw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d128-v6si14203685pfc.211.2018.07.31.06.30.26; Tue, 31 Jul 2018 06:30:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732210AbeGaPJ5 (ORCPT + 99 others); Tue, 31 Jul 2018 11:09:57 -0400 Received: from mx2.suse.de ([195.135.220.15]:37306 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732164AbeGaPJ5 (ORCPT ); Tue, 31 Jul 2018 11:09:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 192F7AD9A; Tue, 31 Jul 2018 13:29:36 +0000 (UTC) Date: Tue, 31 Jul 2018 15:29:35 +0200 Message-ID: From: Takashi Iwai To: Mark Brown 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 In-Reply-To: <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> <20180731131246.GC5719@sirena.org.uk> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/26 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 Jul 2018 15:12:46 +0200, Mark Brown wrote: > > 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. But isn't it merely the additional delay that should be applied on top of the existing runtime->delay? Takashi