Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp297963lqo; Thu, 9 May 2024 23:11:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUoquG6T3nMIn6dQsv0WvULNt9IJYl4YFSf2R+ZkbKzarbwjuzt6gfUeu/G1gHxMBsuuLj8s3cwSDT+FlW8bftsqxIHoUixtDy5+p4XCA== X-Google-Smtp-Source: AGHT+IFR7QfQRrqPY2qVRrxO2HeRawTWx/QG9blwkpslK9pcTyGomjQjFBQwIp/HkouGIT7hhwzD X-Received: by 2002:ac8:5a84:0:b0:43d:f92d:81a4 with SMTP id d75a77b69052e-43dfdb68fefmr22670311cf.49.1715321497672; Thu, 09 May 2024 23:11:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715321497; cv=pass; d=google.com; s=arc-20160816; b=ak4t7wOwKEiwyQ/YWVSGxTtz1Cycu37Y9TlA4j/9QyPv69l9KIYt4cpeXqbb17kwBo D4c5+3d7ykaUw6duMiufLz7gpuxvqwZTNK02W3QfwtBEFcdPdf2VBX1OyyU8Rz7zLsGO IztS1o9GHtaVl96QCHxvyOwj8/mFLeW9j1jWffS0G9fdqlkei2gep7Kw3sfoW17HNJ6F X3tnM+nycoDEEzXvdDhXvbgae2vtjhuLaM2CN11uxHU4R0yWUk859bYjYyc6zREew191 LxX4lImbnGhlWypBfASrFTu2/DsnXFYmnjcDaqQJK1DegiV0uOGEY4S/k42+CcIdo4Op 3zfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6e+q8RDP//GH1Q6PdG0QRXCidXNoODlkMBlGz+qdCNQ=; fh=3iO94J+bkEAvZXs1skXjQ/WtrY0sXzN/abhXoOvN+FM=; b=Slj/pPWTjmaJLVR7sTJA7Rpz40lwBZxnl+P0QD5mnxGZ2wxYVcdqmgRNHVRfqdieYk FB5mNoLNdL8ZvimcnuNFnt6u21sYcjBVDBaOvvYLpxLlRCNNoIC4s+76DM5WQj60GSov Lnz/B+3e9mpwYpCDs5vGDrWZxzLHk18VbefdGCc+DGS957YobYwRd2fO+S62dz8K0s93 f5wL+TWKscuObGfx5lPFwMOrB7MGSfI1M2+30xeDp5bhHdVCIFiH5heVux8m6Ipz0enq WtqpuIx4912/i6jiFKVQX9VDDgXoRUQPWJaajNTBW3dVHSmKvc07v+AxEz4c7VbVjyy0 8Wdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jKIkVsf1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df549b69asi28763271cf.158.2024.05.09.23.11.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 23:11:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jKIkVsf1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 175691C21712 for ; Fri, 10 May 2024 06:11:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F99715747E; Fri, 10 May 2024 06:11:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jKIkVsf1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2CCC1311BA for ; Fri, 10 May 2024 06:11:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715321491; cv=none; b=OCRSLIJQT2XAXkvRv4d9/FPgIKYCIS7ycWRQDPohfOY5H8v0Xc+r2O4fGxwccyuIfx9I6N/JCPI754jDukdOXuTEtRqKBcBF8vVcaR83s1KxkX9qxGW9yuvM65tYxitMsvTy/Lc43s9/WF+9aD6ZAixwVv+WYeQwt6gOWwgqNC0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715321491; c=relaxed/simple; bh=tVmNsvP0F79RlUZxEG/LA65KskpKIapcIo/v8yoB4ak=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KTU9UX9A/aNW1xQiyHHqMyTVk7O6ZUKoBU6Zhyw/XFCLQmGhmw+S1Z54rmpjUy0xK82I7gUmn85pERz5mUAboo/xIk+NE3VstCo2PGGHn5DIVhutoujz85UFfX/cI4l2kcIAMibOZKHe9bIah7ddGmh8B6XKikPnvCu0GwZIZzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jKIkVsf1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45F38C113CC; Fri, 10 May 2024 06:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715321490; bh=tVmNsvP0F79RlUZxEG/LA65KskpKIapcIo/v8yoB4ak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jKIkVsf1od6aPk7MnyWPjHXMFynzPXSzitJyehux5ITdgempS7Ky/BGauZ1LFfr4q u48+U1egGclO8lOKUPkEgr3ZTGLNo8Wiqbin0UlmczIbxjbgfqPh5sdlEFcjWRhMDq 3vF3AWWbTz6kh7d5Q21DwCRwnFmNo16Kde9vF5A2GSPKfZu+9XTXYgE3r3JFnWvYCd wX7ECcY52y6b7haB1rNgqUHT9uJgVZPuNYigZwD1N+2viHnTTWV4HadJgtSL2hGJc4 DcrHbLCrjSszwUsRy4Iy1y058wBu57KGjOOuSIZeHRgW9FvOXDemw0Yycz/3FDYfKK H6eArB6YW8+0A== Date: Fri, 10 May 2024 07:11:27 +0100 From: Mark Brown To: Shenghao Ding Cc: andriy.shevchenko@linux.intel.com, lgirdwood@gmail.com, perex@perex.cz, pierre-louis.bossart@linux.intel.com, 13916275206@139.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, liam.r.girdwood@intel.com, bard.liao@intel.com, yung-chuan.liao@linux.intel.com, kevin-lu@ti.com, cameron.berkenpas@gmail.com, tiwai@suse.de, baojun.xu@ti.com, soyer@irl.hu, Baojun.Xu@fpt.com Subject: Re: [PATCH v4 1/3] ALSA: ASoc/tas2781: Fix wrong loading calibrated data sequence Message-ID: References: <20240510034123.1181-1-shenghao-ding@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IBGLJYrAp7PURpSa" Content-Disposition: inline In-Reply-To: <20240510034123.1181-1-shenghao-ding@ti.com> X-Cookie: Did I SELL OUT yet?? --IBGLJYrAp7PURpSa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 10, 2024 at 11:41:19AM +0800, Shenghao Ding wrote: > Calibrated data will be set to default after loading DSP config params, > which will cause speaker protection work abnormally. Reload calibrated > data after loading DSP config params. This changelog... > -#ifndef __TASDEVICE_DSP_H__ > -#define __TASDEVICE_DSP_H__ > +#ifndef __TAS2781_DSP_H__ > +#define __TAS2781_DSP_H__ > =20 > #define MAIN_ALL_DEVICES 0x0d > #define MAIN_DEVICE_A 0x01 > @@ -180,7 +180,6 @@ void tasdevice_calbin_remove(void *context); > int tasdevice_select_tuningprm_cfg(void *context, int prm, > int cfg_no, int rca_conf_no); > int tasdevice_prmg_load(void *context, int prm_no); > -int tasdevice_prmg_calibdata_load(void *context, int prm_no); > void tasdevice_tuning_switch(void *context, int state); > int tas2781_load_calibration(void *context, char *file_name, > unsigned short i); =2E..doesn't seem to have much relationship with the change? --IBGLJYrAp7PURpSa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmY9uo4ACgkQJNaLcl1U h9D4agf+I0bZ1B3cEZzcn8kwAbokayZK3bWdqamWTuNLb3Vcx2uhyC4/bvRK5qQn J6hS0j9LlmPaTipkl0Y7ztNShtj4T1VRNBY9RN3zRg9WuGh6ruQNGjFZO5gLMlr6 pg6e0ZfZ1Ja76r2kTsr4VzmBuhuoaDSpemsDCbCHHj3ibiHVobR7k2T0YnBoOGyQ je4perE+5AwpAYiUrQUJklo14YYepi+ofoALKisnmpHva6wKFeq6L3l3IacPFBvM cmODN8eF+LcZWc9GEd7SRIkmW9esFWti/G84NItQC2V6v9JaIDG4APXcFYPAWn1N 9s0AEBIhbb8SzQnWR1ajUfJH6zQR3A== =r0T+ -----END PGP SIGNATURE----- --IBGLJYrAp7PURpSa--