Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1333059lqo; Sat, 11 May 2024 19:52:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5q2Dw2uRDmwbigfcsbxqo54sXmx9XQZKP9rlvtmyAf3sO4hHJ7RkEuVC5rzicyMhkHkrFg4ium7kTgmGtAHT46txLzFm+zxUT5keJkw== X-Google-Smtp-Source: AGHT+IFIW4p9EOR3AJkPeqKH6xiL26qoWRO4rW5ul1tO89SeYO6X38aeDw3P89pwnsea7/VUWrT0 X-Received: by 2002:a50:9b05:0:b0:572:47be:a81e with SMTP id 4fb4d7f45d1cf-5734d707234mr5163322a12.40.1715482338631; Sat, 11 May 2024 19:52:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715482338; cv=pass; d=google.com; s=arc-20160816; b=xxhMRX16JcN3uFORS9R+lwsvrf97c0o1cZndHQoiB8Xjxc5rdsSk+/tyxFkuRgsYyX pBNE5AWofd2FHoWkDtMN33pl/WfDD6SWsjpXRrCccbT5tXCFPeQhfhV//h1kPRdJ5mtP LDQ0txC9bLhRoJVYYZYujWwJ6470BGFGMPdLnHiWE9nqKuTOJxBMG7vWtcvtOgnb9HrA cYzN20MGxXp36MY1AAqqF6Jqup1r95dKczsrh0imxPKPq7vDhPGvHn5HbvKrfX61IrzR L1JtpTfmM4ZD3Klic1Y/Z1zEDt5ZfiJ3y5KQwa2bazZ70zpPSu9yihwRFnjQKX45oWts lSuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=1RyNAuM1Bs79vgOio+WbNOmFbW9k3OpYlZuPzZylDtg=; fh=ABd84OJQRUrD+A12QMz3wVb/zHQYobBaZgm1K44zlcc=; b=d2tjLDS3ujE5PJQOpiloG1H5Ia5Z2Qd91sLYH67bEVUJGKFVrnpcqb0+uzfH8PFFwu dJKZH6tOojOmENuaTLFtpqt1rWP+KT1BLfaELZ5KkUH3Z4yCkFvviztF8zZg9MU/+kO7 5jClGJ01MHFK13X3wADT8mv8WLIWlI1RzXnc8AujMe31Q/MVjuykXueayJYA5GnJX6uT rNoQptqWNV1ZWE11OIZvhy3XGpBU/Oc/ytUO4XzKQpPDv73Vt3P/ZZzLMGAJ17eutU0S lcpZjsASqpY2C1ADksoEvPi4YX73oBEZ63qAlxWdAlmykfi7ikF9zggUjnyr53aPMBFr H98w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zP+k1Ahy; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-176786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c32c9e0si3754898a12.435.2024.05.11.19.52.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 19:52:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zP+k1Ahy; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-176786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 am.mirrors.kernel.org (Postfix) with ESMTPS id ED71F1F213FC for ; Sun, 12 May 2024 02:52:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FA21BA55; Sun, 12 May 2024 02:52:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="zP+k1Ahy" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 AF1528BF8 for ; Sun, 12 May 2024 02:52:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715482331; cv=none; b=fX+fo4db34yV2y7hiGy5+cCwb+tzj3bkmMlSraPrATOO3IHaR4nZIYZosqSiY9cW3nWwQXhD4ekiOTHIzzCfh+5s3YgOW+W2Kf9PAaX1QsLhLBsV0518sN+NmrNl6YQ0R31j5l89Xwnh+hjt/xsJKq1mKluksN/4oVxPFSbqpGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715482331; c=relaxed/simple; bh=m/LNQsyeMUC/t0Br8Lx4/5o5HI4VtWKFzVuLWu2KvPA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=nlHAqSOl3bxDdyu7jPTGRIRMJ5JgtQ7lMu1T1OdE7PnjyJ7uQcJY2cfegp+XJxhPYGcf9K2jSCWFNPv6FCEvn79S0JGyIfeUB5nVBi/l8A6tcmvUpGm7rwENHaTPQzjiKQYLdQYgD1Jh1ccbVB7c3xRSBSXsppxHQb+O6cGisbI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=zP+k1Ahy; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44C2oqp9112989; Sat, 11 May 2024 21:50:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1715482252; bh=1RyNAuM1Bs79vgOio+WbNOmFbW9k3OpYlZuPzZylDtg=; h=From:To:CC:Subject:Date; b=zP+k1AhyTqduexdgpazAUTrIHZhDKa7dFrtqpDUwWS+lIQx82h6RrVXJbD2r/aO0+ UAsOqrrXvPPO/y2aOEqy14kxNOYh8bUa0uK+4frYF2rh/OEfDYCvUo5ImSPhDKFSqz 30d3ZTF7MyUHQtw0rAeCCc0F0ILV0H08k3UfTWqI= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44C2oq3Y086633 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 11 May 2024 21:50:52 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 11 May 2024 21:50:52 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sat, 11 May 2024 21:50:52 -0500 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.160.109]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44C2ojfP039978; Sat, 11 May 2024 21:50:46 -0500 From: Shenghao Ding To: CC: , , , , <13916275206@139.com>, , , , , , , , , , , , Shenghao Ding Subject: [PATCH v5 1/3] ASoC: tas2781: Fix wrong loading calibrated data sequence Date: Sun, 12 May 2024 10:50:37 +0800 Message-ID: <20240512025040.1276-1-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Remove declaration of unused API which load calibrated data in wrong sequence, changed the copyright year and correct file name in license header. Fixes: ef3bcde75d06 ("ASoc: tas2781: Add tas2781 driver") Signed-off-by: Shenghao Ding --- include/sound/tas2781-dsp.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/sound/tas2781-dsp.h b/include/sound/tas2781-dsp.h index ea9af2726a53..7fba7ea26a4b 100644 --- a/include/sound/tas2781-dsp.h +++ b/include/sound/tas2781-dsp.h @@ -2,7 +2,7 @@ // // ALSA SoC Texas Instruments TAS2781 Audio Smart Amplifier // -// Copyright (C) 2022 - 2023 Texas Instruments Incorporated +// Copyright (C) 2022 - 2024 Texas Instruments Incorporated // https://www.ti.com // // The TAS2781 driver implements a flexible and configurable @@ -13,8 +13,8 @@ // Author: Kevin Lu // -#ifndef __TASDEVICE_DSP_H__ -#define __TASDEVICE_DSP_H__ +#ifndef __TAS2781_DSP_H__ +#define __TAS2781_DSP_H__ #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); -- 2.34.1