Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp108390imn; Mon, 25 Jul 2022 11:11:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tN+2DSO1pltHpSe8V3fq4qe56zAfOaLYpIuUlKGHYG3oY6smHv1j0TLnRlUBmCS3L2nJG1 X-Received: by 2002:a05:6402:5c9:b0:420:aac6:257b with SMTP id n9-20020a05640205c900b00420aac6257bmr14638099edx.128.1658772704744; Mon, 25 Jul 2022 11:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658772704; cv=none; d=google.com; s=arc-20160816; b=J8AD/Y3g3b24PeeLOGz++8eyDDB+kAxQJNyV4299ARLguA+UXTfOKGT5ns6Om/M9TK v2gL18DDU0B2wSZtm2BbLibabQG0UD3y4g34s5i5azo+ZSPcpvaT9KSc79HNC76iCn+g C0cL368xT6VwcXJZ9cK8vH3Mwq/tsELWlSxs8yuZcAu3X/aeXOrIP6zN1ifQazcS7KEZ qcjg5qw4wgplfz+hPQHh23unJ32qZrbQTedYWaG3M8MVRo6Ru1P2H7TXDAlcsKY3dywJ cuT4u9I/cTyUcKIf4j5jmoRClkItfKvXaeZqzPyAxSoNhWpzV7eiO3zRYWeIVmm6HiEf eN+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=kIKTExQJcpqR/rhvKObo6/Ldla1OZyPoSlsCwDrftQ4=; b=YIjSdzd3nWOUusTTG6MTRmKYrb9BhJCkZGWvEA7RXYKkGxdy088atWbSu8pj6hhLGs LyTEH37hH+R4fa6KuzlHWuaR4KdWnoFP9bAE7mSCx4aJyJR3f+5BhH7msn/EQ3RfftZ6 KEk95G5e1XtlfJOz89r2R8O5jevHt3F5xQFHvK7q9Ovpozvoper1pdKXkRZgOFDoqwou LocFiu5H8MhMGSBaeN6wVCXMdU8QbltYajEIDGW/5AuqRmnyCfwt92lfDoNpcHVcyCaq YgCu2y/ANZVuyYoKBb99Fn6tArvhBALuHEojjujpl+7w+vW3cYLmdzCcAUszc4BqY+pi K9Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=liuffyM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd17-20020a170907969100b0072f8786f675si16447418ejc.825.2022.07.25.11.11.20; Mon, 25 Jul 2022 11:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=liuffyM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236610AbiGYRId (ORCPT + 99 others); Mon, 25 Jul 2022 13:08:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235991AbiGYRIc (ORCPT ); Mon, 25 Jul 2022 13:08:32 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56F2917A8C for ; Mon, 25 Jul 2022 10:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658768911; x=1690304911; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=gaRQ8OrgasXoKsBE8DAQZEaK2QlXpbZjuu5pCy7Jz7A=; b=liuffyM1W+OXR1xZOoLDaUXD0/7j8jbhCKp7Y69chKlSQtbP6vWkqB4I 5dQVqKmeJszgbYk4j6Q9wu4ubWPNKEnm7ICmdaWf7mtxPiwvw4YP2tzny /V0a6hR2WgEL3fXTclBDa4qRSpfl65rYmOUvElO0Dso27xdJD84RKXpPe rhWXhTt84yjbAgHWYTE2Wp9qXkXUCoWTV0qBBsN1QZ/E+6TBBB225D83Y 3GlEJW5LRz6Y/WUbeNcEBmsTQ6doa6uCiteWqMBjlhuIQQKW4uQoYEabZ /HaMGk1P9qT5sRaFy4urjgpE85VQz7LdX6NgSKzKzTm4kseJyS45/iEfG A==; X-IronPort-AV: E=McAfee;i="6400,9594,10419"; a="287760213" X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="287760213" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2022 10:08:31 -0700 X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="550062688" Received: from jxzhao-mobl.amr.corp.intel.com (HELO [10.212.0.178]) ([10.212.0.178]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2022 10:08:30 -0700 Message-ID: Date: Mon, 25 Jul 2022 10:03:23 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Subject: Re: [PATCH] ASoC: max98373: Removing 0x203E from the volatile reg Content-Language: en-US To: Ryan Lee , lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, steve@sk2.org, ryans.lee@analog.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20220723015220.4169-1-ryans.lee@analog.com> From: Pierre-Louis Bossart In-Reply-To: <20220723015220.4169-1-ryans.lee@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/22/22 20:52, Ryan Lee wrote: > The 0x203E speaker gain register should be non-volatile. > This register value was not able to be synced because it was marked as > volatile. > > Signed-off-by: Ryan Lee > --- > sound/soc/codecs/max98373-i2c.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/sound/soc/codecs/max98373-i2c.c b/sound/soc/codecs/max98373-i2c.c > index 4fe065ece17c..3e04c7f0cce4 100644 > --- a/sound/soc/codecs/max98373-i2c.c > +++ b/sound/soc/codecs/max98373-i2c.c > @@ -442,7 +442,6 @@ static bool max98373_volatile_reg(struct device *dev, unsigned int reg) > { > switch (reg) { > case MAX98373_R2000_SW_RESET ... MAX98373_R2009_INT_FLAG3: > - case MAX98373_R203E_AMP_PATH_GAIN: That register isn't declared as volatile for the SoundWire case so that sounds like a good fix Reviewed-by: Pierre-Louis Bossart > case MAX98373_R2054_MEAS_ADC_PVDD_CH_READBACK: > case MAX98373_R2055_MEAS_ADC_THERM_CH_READBACK: > case MAX98373_R20B6_BDE_CUR_STATE_READBACK: