Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp238179lqe; Thu, 4 Apr 2024 05:31:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZADtpdcvH4+UEGCn+8FYBEC0qdNpmmM0x5brOS5RsVMM1q9EC+IoGgMBbckS9+hq2H3Tstez8a2o6xwUR4O3ogj7GWAc20AbYJBEL7g== X-Google-Smtp-Source: AGHT+IFVi+OJDNjLstDJKoz1VIjO0HjOxLZuikVDdOwox0XBd07NNaXHoLH00NZFV0BT2vA1othI X-Received: by 2002:a05:6102:4a7:b0:478:8238:6ff2 with SMTP id r7-20020a05610204a700b0047882386ff2mr2000347vsa.30.1712233886444; Thu, 04 Apr 2024 05:31:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712233886; cv=pass; d=google.com; s=arc-20160816; b=eAJBKStNnZ0pZLYySqqwZU0TulFNAmSXKqNlq146xmT0H1iuUhpVK5jSDALQ5Rz4Vs QwC+JkrTdnt8d7xR+INo3hmWQ3Hfe1jnmLndFNhAwdFrTQGJD7maZkyy9k1bCniwivif AakqCDszjLwar4WfqWiRWwiiSG0Cq4vmHvwmnVqF+PwAub4GoC1nrYTQhU7EKcnrZXqU DXvzexTHoLxAvcAxhbe5rXJ24z0gqBngCZooYVoAgl0v86UOqv9ZlZhPcsrp2S6JtvA5 wSr1aF5+BaHpY2jVk9v5WKnp4rrgiKICv7QT7WLzrBPL2OsUroENd9HUbmNzRW3ZixEx tR7A== 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=n/FhkIE96BqevQ/w19nBbl058n78R3E6LLTtH5XaUz0=; fh=gh9VzrnEV9lrOG0V9Q5h44qu17VYsbjQfD5rEyyk/Jo=; b=LeNX/pXol+6kETWH52prPepfLvVOQVRz+ZXA/g/PVYrvJ6PENensm+h1K8iIYr3yH+ yvuf2kTmCzrkVgLDrCodbiYLN2WEtAy5Dd3Lvn4VE61QMXSDkcfBkY8YWA0S5JzQKrSO N1vVIFpgwgT/N87Ibtr3XwUraobyELfvvFQR0OttyYv4MoGtHYvrTf2+uQ30Z0plcRKl QYnetEonGwBWpNNoPki3LhxpwELIrZLwzSddj9od/1UwAl0HzBwJ62et8CoRn5RefKyb Unpjnryh8oii7wWo1tlGkhJ2h7G85PKo+42KNZKsNejY41mVM9p9mrlpnu3wXSqhDQzz L4Fg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="W7/Maw19"; 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-131421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e18-20020a67fb52000000b00476a85bc32csi1974732vsr.334.2024.04.04.05.31.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 05:31:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131421-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=@ti.com header.s=ti-com-17Q1 header.b="W7/Maw19"; 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-131421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131421-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 139861C25794 for ; Thu, 4 Apr 2024 12:31:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 597B5130A75; Thu, 4 Apr 2024 12:27:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="W7/Maw19" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 A77A012B145 for ; Thu, 4 Apr 2024 12:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233623; cv=none; b=tMSnEQcBnBuuc+RLu14tvZR+kfd6aTfPTxEh0g0huQb4V9P/xD6NcLSds56ysWUX0GcHaINtVhMS4/RcBPl4IBdhji31sAQJ+nTw6XCnP7QLjKWjMwK0SqYbHBfJsRY177WN+fnYB6KKFqWLGIXR0ZjX7TqgDPhUJ8yLL+ZEzsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233623; c=relaxed/simple; bh=TL4psbkZiPi/38vN49tWW71qMDVo2iEhyDBew2kGNy4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=up+00XZ8q2ft/PoS7POYk5dHx5YFspAR0luzMLThKvzdia4v/5gSPMR+l0nYP4tdjMgor9z6x7oLtIw/w+KD2Qb1Cyj3/SLixEX1IxQ5XUQAFFOEIBQSoNM2vlx5UQ0JE+6q0cTm0zPFPP5dmCyaWWPAn61o4dnt8MDlr9UiZ0A= 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=W7/Maw19; arc=none smtp.client-ip=198.47.19.142 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 lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 434CPgXi118551; Thu, 4 Apr 2024 07:25:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712233542; bh=n/FhkIE96BqevQ/w19nBbl058n78R3E6LLTtH5XaUz0=; h=From:To:CC:Subject:Date; b=W7/Maw19fQZZ9bW5k7N3E4BA86rIjkfvI+BfMdke8qtvEYC94wLTaEw5tBqpjAAD5 IHbVHyrCfy+EyznFxiyK2zfHO+TfmDb1MZwmeQZwajmhw1ugK8JY8mmfWDGU77WuKX qUKCm36Djy51DgRs06StMEf70Jn/XG9pk27VdNAs= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 434CPfWb021905 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Apr 2024 07:25:42 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 4 Apr 2024 07:25:41 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE114.ent.ti.com (157.170.170.25) 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; Thu, 4 Apr 2024 07:25:41 -0500 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.160.249]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 434CPY4M033920; Thu, 4 Apr 2024 07:25:35 -0500 From: Shenghao Ding To: CC: , , , , <13916275206@139.com>, , , , , , , , , , , , , Shenghao Ding Subject: [PATCH v2] ALSA: hda/tas2781: correct the register for pow calibrated data Date: Thu, 4 Apr 2024 20:25:30 +0800 Message-ID: <20240404122530.1049-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 Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver") Signed-off-by: Shenghao Ding --- v2: - Add Fixes tag - To add a trailing comma will help in case of extending this in the future. --- sound/pci/hda/tas2781_hda_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c index 48dae3339305..75f7674c66ee 100644 --- a/sound/pci/hda/tas2781_hda_i2c.c +++ b/sound/pci/hda/tas2781_hda_i2c.c @@ -514,10 +514,10 @@ static int tas2563_save_calibration(struct tasdevice_priv *tas_priv) static void tas2781_apply_calib(struct tasdevice_priv *tas_priv) { static const unsigned char page_array[CALIB_MAX] = { - 0x17, 0x18, 0x18, 0x0d, 0x18 + 0x17, 0x18, 0x18, 0x13, 0x18, }; static const unsigned char rgno_array[CALIB_MAX] = { - 0x74, 0x0c, 0x14, 0x3c, 0x7c + 0x74, 0x0c, 0x14, 0x70, 0x7c, }; unsigned char *data; int i, j, rc; -- 2.34.1