Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751377AbdH1Xbt (ORCPT ); Mon, 28 Aug 2017 19:31:49 -0400 Received: from mail-cys01nam02on0125.outbound.protection.outlook.com ([104.47.37.125]:29802 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751309AbdH1Xbl (ORCPT ); Mon, 28 Aug 2017 19:31:41 -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 6/9] ASoC: max98927: Modified chip default register values Date: Mon, 28 Aug 2017 16:30:58 -0700 Message-Id: <1503963061-14763-6-git-send-email-ryans.lee@maximintegrated.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503963061-14763-1-git-send-email-ryans.lee@maximintegrated.com> References: <1503963061-14763-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: BN6PR16CA0010.namprd16.prod.outlook.com (10.172.212.148) To SN1PR11MB0848.namprd11.prod.outlook.com (10.163.208.146) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9cc2370-28bf-4297-cf19-08d4ee6cee1c X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:SN1PR11MB0848; X-Microsoft-Exchange-Diagnostics: 1;SN1P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rWFluPcaaBSf3arBbTjS8yKjdthJoxT8pzzXY4P56UaN8/eAd3NWAC1i0KzW26UCaBMiADpGBgBQMhwFDUan08SEYmBGyx7BKHZSk9SEMNtg6pSMtIjm/6Xc2LkUChA79nhfn/jcaa1+M+niOfYXu12tEG3QZIg5nGGsrPSEVnKjHgDeJTCSgYgjnaYdtmRnKLoAB/gNPmfO1N1zT4fSwrcdcL3HumOpr3iKLAuZjZBGg4zcUlXZUnO3XQe9VxzECAM2CTqoivHbzgQ961ta49501m84CA+aFmRdZTxjk77pW9iXN9V35yBOnO+N9uo6BSNB73vy4hIVTFK2r4WhJp5Z2u/JBKXP;4:hGmhr0Ls7WuoqQtBZSmQ+rUTKMRM2EH0TGqIQ83/AvPV9wRNrc0cwK5haUKRBYJSHbzepoj+N8cz+Rsf75p8XTBqja6hiysQM/iuMiiwiaUFeBxXOiOGvSM31iM2sEwnfVVask7WDLTsr0Le0xf/2lcVZloVhnQF7Fc1JIwpFg4w7wGM2BMGN+o7Sx95WCXLsC1Vhvrysi5IV9oWFl33lkabAXG0amreEJOrUlXCd5+ia1zJsG7pRnj+5e4iaAlThlWFf/bPQn1T3lLstTVRVPBJU+UNp/J1KrVhVE/gX+Q= 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)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN1PR11MB0848;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN1PR11MB0848; X-Forefront-PRVS: 0413C9F1ED X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(7370300001)(6009001)(39860400002)(199003)(189002)(2950100002)(101416001)(81166006)(6666003)(6486002)(6506006)(25786009)(48376002)(8676002)(50466002)(81156014)(305945005)(97736004)(36756003)(72206003)(69596002)(7736002)(5660300001)(53936002)(50226002)(478600001)(86362001)(50986999)(76176999)(2906002)(6512007)(53416004)(42186005)(110136004)(33646002)(106356001)(105586002)(189998001)(4326008)(3846002)(5003940100001)(47776003)(7350300001)(66066001)(68736007)(6116002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR11MB0848;H:ryan-ThinkPad-T430.maxim-ic.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR11MB0848;23:GsdCeDt39PUxR+6xshbkKHtrXF/f+YOjm6Lj/P5O3?= =?us-ascii?Q?gd8LMZsBRrnYpR+xJBgCiEbBaylQblLT5i0t3bwZQEifW7/OiP3T65qYlfIt?= =?us-ascii?Q?8F1OkqqugDO4wQq+TOJRO8pNWMQd1RB4stGqf54RVY+sswDHnY9F1iFetT+q?= =?us-ascii?Q?fANYs5O4YXRdHkpFwpfc+Z2YBztmNlh9sd7FWfGKA5QZhYRJe5ucbJrxWtoM?= =?us-ascii?Q?La/+YX5iw3ryzUhv0UNgIKdEwN3VCtYnPOwhfgxdlfy86o7MAr+mgQKpmvZ8?= =?us-ascii?Q?4Sn8LeEWY8htfQb72uVApsGX2uKUh0Q03P7IPQsLLTWkLocACO4U0xuwE0f/?= =?us-ascii?Q?F6YT7ykEPIcN+zydHbY7fEAXPpDfEjEFBu3UESJAkjxrlXsrXOpzK1c94YQC?= =?us-ascii?Q?u571/k6eTZhL0ObWubAktnWuVkl/2DgdN/Fc4S3KmiwhRIfBUmHOM5vxfSr6?= =?us-ascii?Q?0RDPX5uWi9kpczzPGBoYoAqgfTl9U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9Kmul9xHohlDQa1fpt5t1ha3yj1g3XZm14eJACF5ay9lRhdn7pjSDkn0zx+vbTBqs3XbcqM7SXEzw2UXLp1KZJUvEKRnznl7taVPwaPcdfjtoqyuHoWRwDQCgEIXErIhgJ0xl4uQTo7Obb3w5fvmo2NROg==;5:gRbr93RM5tNnkDMAIYe5z/J3Ne7TJjyr4g1aqDwkIMMxgHBCpkV67QLFPRf98mElJye+yJ8I/BKRvHGF8mUj0FGjx+UPEGBp5qCOcG4iTXWiMFZ2fhg29K/vjBdF5SbFEBCUptNSvSEaRKYD/6aI+w==;24:6vquIux/JZl10vA9F0L14zZDt8ogkMX7jr3SEGtBk20MUzbSzaX559869rMja3l/4/RSCwGxx/iVkFSwlObbWW1pRDow28klO7PYNFvIfto=;7:3Ki+XUykBSutbQHSlwcXkKUJ9kdnox4BMOypd8vRIvV2hnOv3e8Z6t6lZhxwGRiRcgR41Jy8F1UcIRDKtTkmu8qMMu85nETwAycR1HYhwLfJA7jtLp6rBPT7+x4vjACFFTWCEeUdfd52EH0b+btHz3ZvEpj0HjxmU43E1tUjJTdksOmYHgyygzMs2kHwSwPvtKVdZWMYifvKuXpBLTW2hTTpsD+5KsvDsIz4kWrEOug= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2017 23:31:37.4046 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR11MB0848 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1545 Lines: 41 Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 208d5ba..3ab8220 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -44,9 +44,9 @@ {MAX98927_R0011_CLK_MON, 0x00}, {MAX98927_R0012_WDOG_CTRL, 0x00}, {MAX98927_R0013_WDOG_RST, 0x00}, - {MAX98927_R0014_MEAS_ADC_THERM_WARN_THRESH, 0x00}, - {MAX98927_R0015_MEAS_ADC_THERM_SHDN_THRESH, 0x00}, - {MAX98927_R0016_MEAS_ADC_THERM_HYSTERESIS, 0x00}, + {MAX98927_R0014_MEAS_ADC_THERM_WARN_THRESH, 0x75}, + {MAX98927_R0015_MEAS_ADC_THERM_SHDN_THRESH, 0x8c}, + {MAX98927_R0016_MEAS_ADC_THERM_HYSTERESIS, 0x08}, {MAX98927_R0017_PIN_CFG, 0x55}, {MAX98927_R0018_PCM_RX_EN_A, 0x00}, {MAX98927_R0019_PCM_RX_EN_B, 0x00}, @@ -82,14 +82,14 @@ {MAX98927_R003A_AMP_EN, 0x00}, {MAX98927_R003B_SPK_SRC_SEL, 0x00}, {MAX98927_R003C_SPK_GAIN, 0x00}, - {MAX98927_R003D_SSM_CFG, 0x01}, + {MAX98927_R003D_SSM_CFG, 0x04}, {MAX98927_R003E_MEAS_EN, 0x00}, {MAX98927_R003F_MEAS_DSP_CFG, 0x04}, {MAX98927_R0040_BOOST_CTRL0, 0x00}, {MAX98927_R0041_BOOST_CTRL3, 0x00}, {MAX98927_R0042_BOOST_CTRL1, 0x00}, {MAX98927_R0043_MEAS_ADC_CFG, 0x00}, - {MAX98927_R0044_MEAS_ADC_BASE_MSB, 0x00}, + {MAX98927_R0044_MEAS_ADC_BASE_MSB, 0x01}, {MAX98927_R0045_MEAS_ADC_BASE_LSB, 0x00}, {MAX98927_R0046_ADC_CH0_DIVIDE, 0x00}, {MAX98927_R0047_ADC_CH1_DIVIDE, 0x00}, -- 1.9.1