Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp206696pxb; Fri, 29 Oct 2021 08:24:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7HMOTjGflozLabx9FJTA2aYoqxmfvD349WeSZ9cbaOSjfp62KDoQKYRZUFyLm0w4cqBRT X-Received: by 2002:a05:6602:22d9:: with SMTP id e25mr8729311ioe.143.1635521045105; Fri, 29 Oct 2021 08:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635521045; cv=none; d=google.com; s=arc-20160816; b=GXnzKAjlwAoGHQPXV9IpSMOusRW2sIcsMnHaY7i7lbOmFGtJNehEmLdOsF1GlIIume Puq5c+IZ8bnOp499wquF+K6YXThkYwHxu2S9qDNqpxQYzf/t0bN17gDWgFq0/4XEJycF iOIe8jZaXcjutVhcfBugEAdUqg0mqE5BGcpJ94I+hUeWkrDv/K+cXtqVBB9072xMRcPI 5nsRKUf1paKvHQ61iCwWjXplh90cpY/U5ZcXk5c5OPc39Q/7yKHBskY7dYeltZ3egnsW fMRTsXIiwVKl3bAyHmzCL1NAy9FIjcJIwtgunHDuXB9mXpfPR2Ct+D2kdjDrZg0iCvDk llbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RC3o5k/XYUX8EbUZmICl+qB5IUCOabiBR3HAgWIArj8=; b=pz9tieY6F2y03deQIC5F+6stvWLJMGys3OqOmyQbCFNyIZDtVjnsS7/AT9WuLUv21Y 4Kg0syAFnxB5JaKATEdYDnLvQXliqvlQ8j99ldToVpFySOyiDUa4PGDF1rwcE8AfvM36 yKdQ2502XeWgCtdWix7/COmBKbT2IXvIvKojYcs3+8JRK8tbQ3YNihKWjOcbQQTadhT0 usiIzdIXtFbKU0uEYLrgmTfG01XTcfWaj/HyLYaHqAD0BL+Ff35IoEv+XirfEhuL/hae iG98UTOm1kz8R+rqmmd5F7jAXxNNcGLNCs3iI1w/IrMjgvkV8aj+nUPNOUKEzU/sZP8h M2Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tBBp5Tys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si6018431ilh.21.2021.10.29.08.23.52; Fri, 29 Oct 2021 08:24:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tBBp5Tys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbhJ2PYo (ORCPT + 99 others); Fri, 29 Oct 2021 11:24:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:43392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbhJ2PYm (ORCPT ); Fri, 29 Oct 2021 11:24:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5B48B60F55; Fri, 29 Oct 2021 15:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635520934; bh=K3N5Az/gCC0BKAsrlVXDoRH6GnWNwjX21xmwxUaiu4k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tBBp5TysnpZ7a3l8x+KecThcE6UPsz1Yy5AaHXezyrazZv6bk1dm0HM47XK1rv/B+ R4bGIYF0UGrY0f9OpnZZAKztniaDQ6e51sYkwXAcvLvoL/SDZT8a0bjoXfxK/mZUHn /A/yqMQV2oopFAEAPiesebYEL1DQQIYDTDGKOuabxBbO6lyQqQKge1IHNtDXiPW03o b+pZoU/1o0HdiVIJpJbQox7Hm0jJ0zifortCdbj53jjcdP027cg7Gg+TKQQQckd3pf kF2G3swH+3BcQmsSE+lpjxz9QaM4WIH8RZ0aVOVbq89eKuJBDG5wJkxAq6mp59G4OB edUELgF64F0ug== Date: Fri, 29 Oct 2021 16:22:09 +0100 From: Mark Brown To: Sameer Pujar Cc: Jaroslav Kysela , lgirdwood@gmail.com, tiwai@suse.com, jonathanh@nvidia.com, thierry.reding@gmail.com, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: tegra: Add master volume/mute control support Message-ID: References: <1635159976-17355-1-git-send-email-spujar@nvidia.com> <79541c76-2c2b-fd4b-60c8-67ee6b8ea3fa@perex.cz> <8cb777f9-b73b-136c-f560-de4c31af931e@nvidia.com> <18b61046-ac0b-0fb3-669c-6524a03eecf0@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FzXysqnWhsplUAtn" Content-Disposition: inline In-Reply-To: <18b61046-ac0b-0fb3-669c-6524a03eecf0@nvidia.com> X-Cookie: "Just the facts, Ma'am" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --FzXysqnWhsplUAtn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 29, 2021 at 08:38:54PM +0530, Sameer Pujar wrote: > On 10/26/2021 11:53 AM, Sameer Pujar wrote: > > On 10/25/2021 6:28 PM, Jaroslav Kysela wrote: > > > It's a bit unrelated comment to this change, but it may be worth to > > > verify all > > > kcontrol put callbacks in the tegra code. Ensure that value 1 is > > > returned only > > > when something was really changed in hardware. > There are cases when the mixer control update is not immediately written to > HW, instead the update is ACKed (stored in variable) and writen to HW at a > later point of time. Do these cases qualify for "return 1" as well? What matters is the user visible effect. It doesn't matter when the change gets written to the hardware, the important thing is that an applicaton will read back a new value and users will observe whatver change the control change caused. --FzXysqnWhsplUAtn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmF8EaAACgkQJNaLcl1U h9AF8wf6Au6TOBbNtZfeRJ7HMsQ6sHTIYNis+bR/zS8cVSqlPF4sFhOLkx1Vk921 mFw6qqrRgTXdq5mJSUXqgQwgl1KFxfFiJyzI2b8j7sz+AEhTzcx51ZFD+teKzejw QWoiOHtK6cS7fq9PAXVMaLnq0zA1EPCTU7sMDPb0xaJS1G+sFBULEEXnucT4UFPi +aoQQ4SY8C1OCdT5MOFjhr79jeH0WTUa6RgkmhE5/mdqUF+6+yg7TTSwVETcaMk9 3muMn/+qPURk/qT7wZ6KxQVkut5/5hhPHh23MuusFzM+SkAchrIgeho+nvrsKWDZ Zb3dE2wfxyWISHnG+Bo0iIepB8PrwA== =QxNz -----END PGP SIGNATURE----- --FzXysqnWhsplUAtn--