Message ID | ebf628b2742d0e1b1f824c4f0e9b8e4c0a2bc106.1701906455.git.soyer@irl.hu |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4455282vqy; Wed, 6 Dec 2023 16:02:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEa5ppHCMNiV7nBxkr03ehS2Zuiw+emo4SXdwH1FfeCmAaU4MyGTGlxp6XGY4FfB8LnwrO X-Received: by 2002:a17:902:dacd:b0:1d0:910e:5028 with SMTP id q13-20020a170902dacd00b001d0910e5028mr1905166plx.47.1701907331261; Wed, 06 Dec 2023 16:02:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701907331; cv=none; d=google.com; s=arc-20160816; b=tBY60yGyuoY1DMabflszAofiQo9Hwf/bjUnuMDKO17E7170J6JaM3Z8YEVNobZsXQH VVxQgrSLjWp+tNRLgGX2FhVoLRoSvM57ba7XRcgQoA8kFx2w4OHVZIzmbyxEDTdEKvb4 4Np7r3ImDNyqIQ3vkbZCN8DOkUtEtKkJ4p8C2ZXhppxPOVZWk3fp8KhxX1kHTMOxVql0 JTi07SRAJiMyj+aLKuAI+QcfNLTDPKhhcdHs07OdKyoMpo4FKM3RZYSWLz1a4F/BUPgo sKMFEqP0BWMcd7AfVWrJ1TqvQqrXjsUb80upke0wfDaGEdL3s/wO413YVuwMM6rQs4ki TPbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=MILaDtlMFI4r/YGM1z/F1DIi3qk8+YYzWVswPw5ji4Y=; fh=zySoyVfK/7ExaDz2MWyww8poQ40q3tZak5TTvfb/Ovc=; b=f9rrZ+bvJS9P6Iab8e3XyFsxGKudiVP+FqsW3JKPvco+0yMpehQ8ViPn5Ogbbe1fQR R6QONKRy1qCTF9CyN0UKkRM3WmeAWQXLVsb1HrkoJ1CAY1sQO2osNCphq1qzgwd+3r78 52wub0XZMcX9YjmkwBcgoy/GUT4RgDkGihJV3rwgFaKpNHt0DY31WoOBWX/0npqmZqvb jPA/ic3RbjuX49lrvYJdtBNJLVA6fzWzgeOpKQccgfL5CnkILc4Ljz4Of+nRaewcyIX/ ajFqQk+Ry1IM0Bl1bqUom6b5ZReY5e5jl506l9/n+NXg9uosy3G/WytKj2JCyZah+R5H Rhjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n7-20020a170903110700b001b7d2b55d8asi38762plh.626.2023.12.06.16.02.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 16:02:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 75DC68024039; Wed, 6 Dec 2023 16:00:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441883AbjLGAAO (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 19:00:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232333AbjLGAAA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 19:00:00 -0500 Received: from irl.hu (irl.hu [95.85.9.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7422B19E for <linux-kernel@vger.kernel.org>; Wed, 6 Dec 2023 16:00:07 -0800 (PST) Received: from fedori.lan (51b690cd.dsl.pool.telekom.hu [::ffff:81.182.144.205]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 00000000000716F3.0000000065710B05.0011905D; Thu, 07 Dec 2023 01:00:05 +0100 From: Gergo Koteles <soyer@irl.hu> To: Shenghao Ding <shenghao-ding@ti.com>, Kevin Lu <kevin-lu@ti.com>, Baojun Xu <baojun.xu@ti.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org> Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Gergo Koteles <soyer@irl.hu> Subject: [PATCH 07/16] ALSA: hda/tas2781: load_calibration just load Date: Thu, 7 Dec 2023 00:59:48 +0100 Message-ID: <ebf628b2742d0e1b1f824c4f0e9b8e4c0a2bc106.1701906455.git.soyer@irl.hu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <cover.1701906455.git.soyer@irl.hu> References: <cover.1701906455.git.soyer@irl.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mime-Autoconverted: from 8bit to 7bit by courier 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 06 Dec 2023 16:00:29 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784579181934309366 X-GMAIL-MSGID: 1784579181934309366 |
Series |
ALSA: hda/tas2781: Add tas2563 support
|
|
Commit Message
Gergo Koteles
Dec. 6, 2023, 11:59 p.m. UTC
Move the apply_calibration outside to make it clearer.
Signed-off-by: Gergo Koteles <soyer@irl.hu>
---
sound/pci/hda/tas2781_hda_i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c index 2b5031e4dda3..c82ed2413fcb 100644 --- a/sound/pci/hda/tas2781_hda_i2c.c +++ b/sound/pci/hda/tas2781_hda_i2c.c @@ -470,7 +470,6 @@ static int load_calibration_efi_1(struct tasdevice_priv *tas_priv) dev_dbg(tas_priv->dev, "%4ld-%2d-%2d, %2d:%2d:%2d\n", tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); - tas2781_apply_calib(tas_priv); } else tas_priv->cali_data.total_sz = 0; @@ -548,6 +547,7 @@ static void tasdev_fw_ready(const struct firmware *fmw, void *context) * calibrated data inside algo. */ tasdevice_load_calibration(tas_priv); + tasdevice_apply_calibration(tas_priv); out: if (tas_priv->fw_state == TASDEVICE_DSP_FW_FAIL) {