Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp568837lqo; Fri, 10 May 2024 08:13:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAQPD1dAy2Yh7UiZ0adyyMhJude/Jc146HSJGvJPGW6wyHacJwdag18T/JPyOiW9JbEqaYoHbMV8j4rW8zo2Sp0pDKuf8k0yESPmrNfg== X-Google-Smtp-Source: AGHT+IFH5aK65QHINSds6bwqt98a8lk9fEG9ILn/lW3Pn18AZfX3zyGXlOVv7Fw4JzmCBoxmQZq3 X-Received: by 2002:a05:6808:17aa:b0:3c9:6bf6:f2b6 with SMTP id 5614622812f47-3c9970b961emr3639965b6e.37.1715353982071; Fri, 10 May 2024 08:13:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715353982; cv=pass; d=google.com; s=arc-20160816; b=ZKmx+1O1TXzC7xklvMWCeN2eFVdGh+YVxvwI2HRfw7p7xGT6+rc1VE30ALlTjdH4Xq D8tLyjX+HLL7mo62xpeWIJhlA4jPuuU7R8dfRQOb05Z9acLC3KtWVr0ltxJ67xNTpuIw OtKOaBMX4a7D9lwytQRaa7MLo1CNz7cQh4f/27XpZcxKdDWYDOMKEf8B/m3IVAsbMe1c rYt3fGdUELmQXVsyOFmf8eOMSG4wAYgihjV+B5WFytqV6XT+5rb4RB2uEj+ywuFYcnbu v3UKlzbIHFmynv/zh2lEGLJkdBAJvZ9WjT82CMZFFXXDWycoVRHKe4mItGe0xA5IWftv GZGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization: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=dnbL5T9tHtXRTSIsRESwn+7sZfnSJh2t6SMYQuQQd9U=; fh=h29cSr1EkgbV2clAI6Afpr/MntUMnK6nnvHdwuCm5ik=; b=kFNMaZSykZpNys4dR7yzbrYKaxo+36FTdC32C9gYSNHmvISa1bS/l88MPFPUEl7u3r Tk5Ax411ESBMSgVUKDxt/ton/5TAeakJQh1YupDXrrn7W/WUhJZdctnWjoWj40Jx9p5V Ulz/94rEtZraW6CBfXTUHh3uqv77hfvZw2nlDpRUUS21pknBks5LEcdreBAGkX3+iGHo sS3RDOA7PucNGvSEdU6EVsbgx14VX3CkEj1LHwv84nvBZksuXDaMHGngHY46cH4RAFY2 r/SC1mLuk+ljKVQ2VzizK7jYKYyJyhFK4wT8oX7421T1EbJ0BJ5s4zFoYGqe50T/B82+ IpVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SERZ1VDp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-175933-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175933-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2ee9dasi38085906d6.445.2024.05.10.08.13.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 08:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175933-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SERZ1VDp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-175933-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175933-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 8CE921C2259E for ; Fri, 10 May 2024 15:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E95D171644; Fri, 10 May 2024 15:12:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SERZ1VDp" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 43F5912C53F for ; Fri, 10 May 2024 15:12:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715353975; cv=none; b=Awu2Mk7zlZI1r6297QZ7BaZEFRP+CY9HoseQq+I0xrKTUmn1pS7xUFTyKVbQTJQfzdzvKZmza7+2a3dv4Vg9NUfg1h/LvO7XlSSbb9y31JUFatieDdNIQj8saBebWBOAwBXSiAGEXNjqeXdMceK8nZcv+5918bEJLH9GBze9DCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715353975; c=relaxed/simple; bh=IRB+pc4QjEmCYoDfPo7B7gkb2wYKCD7OVN0a/6SXhVg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SsM7heT+geiJtc3HIa0FeqcXHSaT6+zjaqn8seIv16Zy9fNgcQYuAITxfHb/lzhtwcTsqiZEnYZV7klvtKJZzOWq5aMnLU75iCPY6wRSaDuMNbpz1Hha/jBobrCULfC5qYuF/SBNTyxXBmaolU7jZf62DDrECdnZKZ4L4pRWSVs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SERZ1VDp; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715353974; x=1746889974; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IRB+pc4QjEmCYoDfPo7B7gkb2wYKCD7OVN0a/6SXhVg=; b=SERZ1VDpgCN5dda8dCkg4/fsTqFA//Qd2GR0zBEZV5gu86DdZhU23/WV zMw70xFbB7kWLFauDHOGbBM33BdW7h/O9ShNwMVXtoAL6Nxtd9d9S1Jbn GDHUhLmOsSgme9JrvBT56B2GbCELEbjrcoVTUP7HlgRKLoD3MZfsE3FHM b2eX4cT5AqM+1phvT0z5C6s0BAZExjqSDqg3OcjPCH8AYnAeKUpQ5gbL3 1oBUHUwMibxlmdNWuZVbYSIhb3gkrTGtkbY7YO1pdmzl23m1fQ+x4Psa7 lm+5hLMpAJRDqozNXStJfftM5DMaIHnlgQ7NQfwcN4Qlt57H6S/QIlWvP A==; X-CSE-ConnectionGUID: wcL2HXPOR6inN+hdUxRAEg== X-CSE-MsgGUID: JGuwzlToR7G9CBxkzHiWgA== X-IronPort-AV: E=McAfee;i="6600,9927,11068"; a="11201788" X-IronPort-AV: E=Sophos;i="6.08,151,1712646000"; d="scan'208";a="11201788" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 08:12:53 -0700 X-CSE-ConnectionGUID: ScQD7gxITEGKr8SJL28UfQ== X-CSE-MsgGUID: 6GMjUwSsRR2qf6kS2BbL+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,151,1712646000"; d="scan'208";a="29492945" Received: from smile.fi.intel.com ([10.237.72.54]) by orviesa010.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 08:12:49 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1s5RvR-000000068kM-3SGV; Fri, 10 May 2024 18:12:45 +0300 Date: Fri, 10 May 2024 18:12:45 +0300 From: Andy Shevchenko To: Shenghao Ding Cc: broonie@kernel.org, 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240510034123.1181-1-shenghao-ding@ti.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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. > > Fixes: ef3bcde75d06 ("ASoc: tas2781: Add tas2781 driver") How on earth this can be a fix?.. > -// Copyright (C) 2022 - 2023 Texas Instruments Incorporated > +// Copyright (C) 2022 - 2024 Texas Instruments Incorporated > -#ifndef __TASDEVICE_DSP_H__ > -#define __TASDEVICE_DSP_H__ > +#ifndef __TAS2781_DSP_H__ > +#define __TAS2781_DSP_H__ > -int tasdevice_prmg_calibdata_load(void *context, int prm_no); -- With Best Regards, Andy Shevchenko