Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4111945imm; Mon, 30 Jul 2018 08:52:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdiBj21f41Wuj8dBHP2HURSRXgCbtg/A47sKryyxRaEhYvs1r9OG8vJKqgbMVW/AXmtvm0h X-Received: by 2002:a63:3190:: with SMTP id x138-v6mr16840440pgx.60.1532965943798; Mon, 30 Jul 2018 08:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532965943; cv=none; d=google.com; s=arc-20160816; b=jOlZfW/XLJRoVcTQwTYJqgSltVNpqetvu7xd62QJf7dotlKCi0CLXx3Da3hwnHPD49 dG0zfnOGrpo+s090jV5aZsdUgjuLD8M4b3xgcIMtCXHBHSEOynuNmIW5PUIob2npAOzs naK1TKN2ma2clvXp0XTs3yalj7WGuybmTqPqk4pQMRL3PNU66i3FAVvRKWiY50rwruMi qcInOuUpFmVhNbSAeYOKAEhl/dSHYi+duoZ5usE3U1b0Loo40IhPBRgg2OR8tyIPN+GR 7nOJQgPGL68suXjscLw7EP6g7hQwUN1fiXXQ8qTEvvy9nhAv8tDqL3IAyN7g7ucoOJgd pShA== 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=39UWZlaENiMVCVW7qWAmuCrsiRZX+MVMWcEajdLTXYU=; b=qGuIKgAVPQBuYwKiR0XmxGtE1r8hYPdP42WbNkQLJa6mScIhy/oqKgYHYwq8OF0W78 UDUZqovxs7ZEoU7bwvZF24dvGUNqVZtqRsYPUdeJBpU9ezx/1Wv6Pq7edpP7kPnpk4J3 Z4rmdcMNMwLe+ChSn4o3UJ4zWa6gUtwQXyuhv9idmeYqCtlzPvbsYJaXvreukubRT9fg SEV1+rulEdu0vMAGIbAUfyW7mQUSyP3OWfVCfdIP2ZYzAqBA6C4l/lGAVdaLfFta9ViU Fw0CyxqP48gVbSa+CFRbPQ0JuXdmPSj09X9fZ9o8B2WfiDWPZOsUayL4QUVOQ9oOuqNV OZeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=nev79Gk0; 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 f59-v6si10308424plf.500.2018.07.30.08.52.09; Mon, 30 Jul 2018 08:52:23 -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=nev79Gk0; 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 S1726961AbeG3R0R (ORCPT + 99 others); Mon, 30 Jul 2018 13:26:17 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:52806 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbeG3R0R (ORCPT ); Mon, 30 Jul 2018 13:26:17 -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=39UWZlaENiMVCVW7qWAmuCrsiRZX+MVMWcEajdLTXYU=; b=nev79Gk0A26wS8p5QhnaZhlj4 4zpVxVnhZPF5bKNdTWEgG9UPBEoddRW+uf/rVtLaF8q/vXMTkqHeIFHcItYmuitV8OKr1R5VTKBFJ fRRBiMtZKxW1MmwtvBf8MRDwe6LJt8qIQbklOgxGO2h75JhRH/iTp7gw48cE54idUCT34=; 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 1fkARL-0005Xo-5B; Mon, 30 Jul 2018 15:50:31 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id A542B1124216; Mon, 30 Jul 2018 16:50:30 +0100 (BST) Date: Mon, 30 Jul 2018 16:50:30 +0100 From: Mark Brown To: Takashi Iwai Cc: Pierre-Louis Bossart , Akshu Agrawal , "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: <20180730155030.GP5789@sirena.org.uk> References: <1532686422-1790-1-git-send-email-akshu.agrawal@amd.com> <66c8b8c4-bdd0-0129-5e5b-850890cfdb8d@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NDuspjMMC1Ui5ypn" Content-Disposition: inline In-Reply-To: X-Cookie: But they went to MARS around 1953!! 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 --NDuspjMMC1Ui5ypn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 30, 2018 at 05:32:21PM +0200, Takashi Iwai wrote: > That said, if delay callback of CPU dai provides the additional delay, > the patch does correct thing. OTOH, if CPU dai provides the base > delay instead, we need to clarify that it's rather a must; the delay > calculation in pointer callback becomes bogus in this scenario. Part of the theory here is that every component might have a delay independently of the rest and we need to add them all together to figure out what the system as a whole will see. Personally I'd rather just have everything use a callack consistently to avoid confusion. --NDuspjMMC1Ui5ypn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAltfM8UACgkQJNaLcl1U h9DFvgf8CsHe8dwNrqBV/SvhEF+GoCuFHKSytnDQS+PduypJLUCWCUm06M5vZPmP BzUOccYZ79pB/dp6jEJuDIk2Ptyz90r0DffH3gWZHJAIofaf7ct15PK7M3ilrLKm Nc0vCWubhuBpl1adUR7gCMR+TMNi7tv12uFJX9b6j2UFC1MOHECeYBpKMlyWmELd LE3ubFx6Yz/pkP6jhDq5OMxVDH7xQwr+wHNmv/1t6Uh4P+E3fFpk2KL3ak+Q3Rjr vaMISlB/JuS15ChTrMnE0eZQxez3LVgCbs3PGC/MFAFnzcvTdnTdI63csSeMUJZB q6X5w7EQQhNjESTGh/vnxSwtXLvNSQ== =3qh7 -----END PGP SIGNATURE----- --NDuspjMMC1Ui5ypn--