Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4953564imm; Tue, 31 Jul 2018 03:04:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcRvBkuLGmAIDKK7E8Piwh0owpT49+Bf4B1mLULYa/5ovbrg0ex+bBjNayLHkyPWNj/3XgA X-Received: by 2002:a65:45cc:: with SMTP id m12-v6mr19672328pgr.160.1533031482581; Tue, 31 Jul 2018 03:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533031482; cv=none; d=google.com; s=arc-20160816; b=Mkr00Bnjfax+ol9PNnC37CmrC9U0zvt6Jrk2Qko5pcZLyNsU6ZpZdMzcGXGUgmg5D8 rtiJWvhJXkzpWKPB4fYOh9KjZwCroCCyAZ2h80eDQuHKRfiItAH/bBU2AuOBEoc/qHfE X17BBNf12wC+WtTw1LVpbQr7hKMqvXC/pJQgdgbbXIAcWrb4E7YVrOlqSCws1yBlvOG0 8oIcShtec+u7fWU9mbJwreVTa0+7NLiOwsPoNSZqzBDHIDlqrpb0Hr+hOGQkvS7vRQDD MMYZ2Dg4RYeqOr/h701fvqCU0LiC/bCmK7/VwBY/HnkNBEVkLNC27Qxt5sdSHUv2RBpP 0FGg== 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=3n3lqb3S5tpcoiMDJ4v6GeigGVR5MzvU19BNV0jK1aw=; b=FIvpQaeBGLv6I9/I48mJMoLS8qnw0FBWMqBGy2YLeuBEY31qRWgU3KC3BzeGjHZ79Q xjdKiFAZ4WNZhnqr+9OK6X8ILOS/0LGnJdiocHC2a+FXYiciEz116G+ltOOAxmGaQI/I fr3ei8fzuKlQG7sMNXTsGejpqAafrklXOs8KMU3i34HtsWV2zDfkLQV/WhR8ggbmgTB5 awMj3dOxlXm6EPMOXbWSfZjgdeCOVMf6IKsNvkMHNrDE6ri0qT6NfEzj/CEtMuiQz5AX JIVkjiTEP3YvW2Fw+Ak1UyyvrQuuxwGM0zsGGzo22iqFLCNA7U9MzV1XeiUGCd8OF1y/ 4wxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ozC7+99G; 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 b20-v6si9022953pls.78.2018.07.31.03.04.28; Tue, 31 Jul 2018 03:04:42 -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=ozC7+99G; 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 S1731908AbeGaLnC (ORCPT + 99 others); Tue, 31 Jul 2018 07:43:02 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:51180 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731578AbeGaLnC (ORCPT ); Tue, 31 Jul 2018 07:43:02 -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=3n3lqb3S5tpcoiMDJ4v6GeigGVR5MzvU19BNV0jK1aw=; b=ozC7+99GIDS6TrAWAmwvFLp+Z 7SUdJXLL0e0mlkO81oB7vb5YAAe/Nw9F+2QEpYt0pLhXa/4KrgXQ+YYdI8JwMkc+hur5hYf0A7rh0 He1NBLn9bDlZ2yNhbsyAxjYeFOvAKEuO38q9ND5uyieuBy5ejrLS6pQGDhczjbMwyttRk=; 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 1fkRUp-0006tQ-TX; Tue, 31 Jul 2018 10:03:15 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 7A6A91124227; Tue, 31 Jul 2018 11:03:15 +0100 (BST) Date: Tue, 31 Jul 2018 11:03:15 +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: <20180731100315.GA5719@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" 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 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 31, 2018 at 07:30:16AM +0200, Takashi Iwai wrote: > OTOH, if the CPU dai can really provide a dynamic value that is > strictly tied with pointer, CPU dai itself should provide the pointer > callback that covers both the pointer and the base delay, and it > should be used instead of component pointer callback. Probably anything in the SoC would be potentially able to get a dynamic value out - the main issue for off SoC devices is the cost of getting to the data but that's not an issue when you're memory mapped. --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAltgM+AACgkQJNaLcl1U h9DIFAf+Iq4OJr53hDh+Gkgyws3gyviprKD6tvTQmBGujYIymIGGdQ0MxxRG2rGN eKs9uHn/8fUVsQbwBIKa6oOgvRpaNLcVZ7KCD9RbHAv6nmcsOOdNXFgnP/Wki2lP xB0g+TCwZwOt2NC6kPyDInk7CP4Pt1pNJbD9efRnJl2XvlaCTSFCWgXdUnQ9VRT7 6SkIYTMbj4ZwKZn3WhV5AS65JIF+JRc3T+d+nX/WLOztXurwqIeMjLdiIkXei7cn yNxFgB5TZ8kpXPgrLdAHZjz3NUruixK6iscFbJxuXiw/FSyl5iysbeK5zM7plHuP 7gIPXBgphQhcYA80WBDOZ0QArh6jlw== =fPkA -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--