Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1210212ybk; Thu, 14 May 2020 03:19:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9WIPcXBn89/zDkbSHS2ElkcTikO+SoPH1t5zhIBkZoTqRm76m7akOCqpE2IM+m4gPOyh5 X-Received: by 2002:aa7:dd91:: with SMTP id g17mr3114652edv.374.1589451564514; Thu, 14 May 2020 03:19:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589451564; cv=none; d=google.com; s=arc-20160816; b=tA0q36++DvBkHdOk3UrIHtnDe8Zti15c6guMQokX4yvlLjJ4V/0ApP5NLjcaUd2CGk JODs6HQvs2J2xEYwcS4A57Zd9ZzEl2bki0F+CjnBc8Ehr9KkPuNRsgbV19sVw7VrQa2S O3H2b2B7tAQH9jxANhijS0UX6Ica4QdFnhvR6yiEHnUXcoV+l+iDzIDnSUfHf5JhVt6x 29PgjBvS9lviOwtnDSFKh+Z9sUhBjfXSoYWn/iE7cUOY0P0AH/sMJWTQASJl3+9+QXOB aETmQa/r9ziJ8eIp0jl482ij8+mvAu0MseRlBBa5kjchXI6+ZeH9nWzH6veqghTnesPN moEg== 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; bh=jB09GXFjIQOGoTGi6d4HOJljmQPGtm0LQdC+G0BVwxo=; b=vqEnj5AlVoqnEWP0TAfSwNkgpE8jChcLJuhv4DgwMqZczFKZCHbRUeLaFMfltGzxLQ tFq3nFOTcGDkVy/gWfBugwi17W0iaXHu9ErpwyzE6G8i/gKHd2BLAdOiGmpYTn2urP48 +IMNPuPCeDsokK/GFRlJvXgSXp/YvMDAw3hXrJQWpD2QlapjD0OH3HkKn/4Q23aBr1IA X/k5vGj9KODU/FM5xTFhPWglBe05lj+Bnmm8vgSURfOGCPFV9KSxmCIso3hr8lz2DI0t a29HhDrScufJUHdh4VXLQUEcmyqAPmhhZAymTWaiifhAB8pqld8NerovsrhbTeFAdcb4 zLPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=D3zjKHn8; 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 e9si1265628edq.472.2020.05.14.03.19.01; Thu, 14 May 2020 03:19:24 -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=default header.b=D3zjKHn8; 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 S1726151AbgENKRO (ORCPT + 99 others); Thu, 14 May 2020 06:17:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:42268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725925AbgENKRO (ORCPT ); Thu, 14 May 2020 06:17:14 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1810F2065D; Thu, 14 May 2020 10:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589451433; bh=Hjnqtf6r7/XeH0rPJKhpaCd250LS4mEfzl1RNp4Sfyo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D3zjKHn8NR/8To9fLf0fHyreRT1kzJk58Z3fWsPILa95k5xHi5sL0y9TYFLy/u5Ep h7KFg/LqEovaeVIZR1hHa7K2rles1Q0eg1sKhJzdrbkdn1DjbBFRAGNkLLQwVomqNk LVXINSpYITqJsfUS0gxo9b8dgpaQQUYOItfCEdf8= Date: Thu, 14 May 2020 11:17:11 +0100 From: Mark Brown To: Tzung-Bi Shih Cc: Steve Lee , jack.yu@realtek.com, ALSA development , ryan.lee.maxim@gmail.com, ckeepax@opensource.cirrus.com, ryans.lee@maximintegrated.com, steves.lee@maximintegrated.com, Linux Kernel Mailing List , Takashi Iwai , Krzysztof Kozlowski , Liam Girdwood , nuno.sa@analog.com, geert@linux-m68k.org, dmurphy@ti.com, Shuming =?utf-8?B?W+iMg+abuOmKmF0=?= , Srini Kandagatla , rf@opensource.wolfsonmicro.com Subject: Re: [V3 PATCH 2/2] ASoC: max98390: Added Amplifier Driver Message-ID: <20200514101711.GC5127@sirena.org.uk> References: <20200513074523.21086-1-steves.lee@maximintegrated.com> <20200513105144.GC4803@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2/5bycvrmDh4d1IB" Content-Disposition: inline In-Reply-To: X-Cookie: I think we're in trouble. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 13, 2020 at 07:58:12PM +0800, Tzung-Bi Shih wrote: > On Wed, May 13, 2020 at 6:53 PM Mark Brown wrote: > > On Wed, May 13, 2020 at 04:45:23PM +0900, Steve Lee wrote: > > > Changes since V2: > > > * Removed warn massage in max98390_dsm_calib_get func > > > and add comment. > > The problem isn't the warning, the problem is that you have an empty > > operation. You should either implement the function (eg, by caching the > > value written) or remove it and fix whatever problems you were running > > into further up the stack when it's missing. > The purpose for the mixer control is: to signal max98390 to start to > calibrate from userspace. > Thus, > max98390_dsm_calib_get() -> do nothing. > max98390_dsm_calib_put() -> call max98390_dsm_calibrate(). In that case it should probably do something like read back if a callibration is currently running. --2/5bycvrmDh4d1IB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl69GqYACgkQJNaLcl1U h9DNxQf/QQdNXRHEhFVhciOu10vEivLtB4etHg6e0+9DlP5UaqQzSlo8qhxUVOLg vvn1YSiYncGYeehx+d2wpZHDsRTuC7t6l8fmJPgX5dU9U8cuaCfEL6MpLTRxWvtd 70W0gvdgF06FJsCQQW/vdFxXMYQrnSULSVbsXP+WTSntRA1q0UgT39iVNB4oLLJa YfnwI6H8B9V/0BLvGNJeQh0CeboCekKQxF02A1gPld096jo3CA0OYae75LLtgV9A 4rkEwexhCG14FuzijzZ56w2JSVjqaqgOHQXtZBcv6zMthny2y08q9Y1+iYTOydAY O9da5PaWDFoscL0AYaMZemx8ryXTYg== =hO61 -----END PGP SIGNATURE----- --2/5bycvrmDh4d1IB--