Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754624AbdHZAlk (ORCPT ); Fri, 25 Aug 2017 20:41:40 -0400 Received: from mail-cys01nam02on0131.outbound.protection.outlook.com ([104.47.37.131]:30527 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754488AbdHZAle (ORCPT ); Fri, 25 Aug 2017 20:41:34 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=RyanS.Lee@maximintegrated.com; From: Ryan Lee To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ryans.lee@maximintegrated.com, kuninori.morimoto.gx@renesas.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: ryan.lee.maxim@gmail.com Subject: [PATCH 3/9] ASoC: max98927: Updated volatile register list Date: Fri, 25 Aug 2017 17:41:04 -0700 Message-Id: <1503708070-7906-3-git-send-email-ryans.lee@maximintegrated.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503708070-7906-1-git-send-email-ryans.lee@maximintegrated.com> References: <1503708070-7906-1-git-send-email-ryans.lee@maximintegrated.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [204.17.143.20] X-ClientProxiedBy: CY4PR15CA0022.namprd15.prod.outlook.com (10.172.74.32) To BLUPR11MB0835.namprd11.prod.outlook.com (10.163.217.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0d0c9588-4d27-4931-618b-08d4ec1b3134 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BLUPR11MB0835; X-Microsoft-Exchange-Diagnostics: 1;BLUPR11M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Ch+CfOCU+NIOYdRdwpuF33pFAQ3XYJbHtNrziDNpJkYrUXnVG9JV++nsrEw9ne+OGtpFpeUBIo/iD1iil+P7fkHup1Z1dJdbSljkTS/4tcRNyA56nxbb3uzSJryfMub0OXEJw1NOJOBeP5nwKeZ1SqNZCDI17IBkz2xwR6JZtDRnuB33ra0nQ9JDF3sAJ7TSceRA77O4nb29ofijOTYtyCOSWxYzZvFEjuE7QnqtEYuPMTYqh/KvkYE+g0YXn1I+KeLzNa5lppNr7plvhKv8TB6m5+udHRHzjMqHRGCxX8X79uwqKSTQJ8gZOy380oLtaswthICQfNxszAFL6SupeX;4:Ywz8wATKTfKYfUb2d9rgnjO6ulvcspEgaij0FTCb3GzrrrmS0WBWW1P3r1bYm7Ocylp1HFVvZTFhP6n5X9cxdMruuGDbEyQtoqKLQ7ZFV+QYJ24lzryRM+rL0akzmK7XqdXQ/ENaEnjxclpG0VCUdNSQiTe7vxkl26ttaeqXOdoEDrFz3X0QJzhKlQrds5+TyGmFntx6PWRSbBMlHDAJe/hxjfWG/4G/Dp7+9uJ41uVaRENMGxyKZzVoF4Da3OwcbSmBVNJjHYQxdnxqrKBh6RgsfK+CIEA5rIf6o6VAhgQ= X-Exchange-Antispam-Report-Test: UriScan:(108721460000369); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123558100)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BLUPR11MB0835;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BLUPR11MB0835; X-Forefront-PRVS: 04111BAC64 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(7370300001)(6009001)(39860400002)(189002)(199003)(4326008)(72206003)(97736004)(81166006)(110136004)(81156014)(8676002)(53936002)(189998001)(66066001)(25786009)(478600001)(86362001)(47776003)(305945005)(48376002)(7736002)(50466002)(3846002)(50986999)(2906002)(6486002)(6506006)(6666003)(6512007)(68736007)(76176999)(101416001)(53416004)(50226002)(5660300001)(6116002)(2950100002)(42186005)(69596002)(7350300001)(5003940100001)(106356001)(105586002)(33646002)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR11MB0835;H:ryan-ThinkPad-T430.maxim-ic.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR11MB0835;23:dXgObFXNZ1haUBqFJGv/hgaowcKFh8aVe3kz5fTcI?= =?us-ascii?Q?Y/3S9Fj59qRKOquKCTD9bx8WWkVfjdyeiiKlpq5EGhDAvpW1Eleq+5W8PdK7?= =?us-ascii?Q?Wf4jgkVDPIhgK2A7Ctnm8WEWf9HuCH/U4NLpFIwvphzokDApNt/IGCCHwVfd?= =?us-ascii?Q?qYgKSTby1dHw4Y60iYBO2CFVzOFRl5NB0SdNHzHxG5nUpdQzQhTy972eLOGV?= =?us-ascii?Q?F9WC+uADPd0LMiXOFoXzc0A1s88enyQh5ht2ke5UVZO/rUdJPAg01CkVURgz?= =?us-ascii?Q?Fjy350dcEs1WzroXcmpX9rCQUawqnRUL9WxdGgQj+k9MdOAnSzV4l/r1VdX6?= =?us-ascii?Q?onTKJLQ/wG2a2WDW/JrIl5iyYKAbg+PBoVaJfSabFWwnSBwFVGeM+Gh06CFr?= =?us-ascii?Q?pVktt17qg4IZzpFLKTGD2jKC5SCPPoZOYwwoX0O/1eWetlQS14zwP/SyZ1XH?= =?us-ascii?Q?pS7vwYz1ceNRx5YWWrBUyNV3IQ5q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Ac1ryBb5ApnhV73G48nzQNjQbP0A5sOeSUJzU/r7v0gK9LbwLUCEsogYwL/14EDxt9GbqSbYeWK49/JbHsmndM2gyw+CdP77eGnIedKgF+OHtWLuSbKq/02UbnTXiH5+PPvADsYvnx7LhrYQ==;5:98boB4cFvNGeoqbb3BQ7Xx4zVuWpNJl5Pv1UAIadkNIVoXpl3zc1ZXdvoxcw4EzKCUdns/wU6v3Sy8MjcI5RPMMaAK+z1kWd5oQAsVoNRtrC04IkQB/1LanK33y+aFwj8uPgiZP7PtbyfFceDYdPEQ==;24:ZCXQ2jr6lLn3i7lfgtLlGj2g/79DZw3yKhjlu9ABCcxoXPzRFyGV6nAp1Wl6lSpuV73Wrz98H+Qqj31lNh2Cp97R0mSiwT6XIWKtC2x13nc=;7:YjaqE7ps/VzIYAFnfuRKQ/M7ELATpZi9CVyNms3pAl86uRyMR/Sazz2BUJGKYJz6+OCDsaKY8XHuOHGf15Ah6u0gJSgE1CfQPFIVkitcdrQuauzpIORShJywS4Ql1ScG0b5Z/f13k6aT1Wk7C0GlsZFn4eLBD7V77tNoxDQX+Rdl6N8hWP/3XMy0tKF1MM1erurCLjadcHw4Kmsc3ZHoV0odXRujjyeX+K4GTlrYtVo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2017 00:41:29.1120 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR11MB0835 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 867 Lines: 27 Signed-off-by: Ryan Lee --- Changes : Added more reigsters into volatile register list sound/soc/codecs/max98927.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 1dfcb7b..c72a244 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -586,6 +586,13 @@ static bool max98927_volatile_reg(struct device *dev, unsigned int reg) { switch (reg) { case MAX98927_R0001_INT_RAW1 ... MAX98927_R0009_INT_FLAG3: + case MAX98927_R004C_MEAS_ADC_CH0_READ: + case MAX98927_R004D_MEAS_ADC_CH1_READ: + case MAX98927_R004E_MEAS_ADC_CH2_READ: + case MAX98927_R0051_BROWNOUT_STATUS: + case MAX98927_R0087_ENV_TRACK_BOOST_VOUT_READ: + case MAX98927_R01FF_REV_ID: + case MAX98927_R0100_SOFT_RESET: return true; default: return false; -- 1.9.1