From nobody Sat Oct 4 19:16:43 2025 Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) (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 8E9092D46C8; Wed, 13 Aug 2025 10:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755079711; cv=none; b=s0dZHFZ/eQiHZpcc2sfOBqJxa9SNKLU9bpFJ2onk2a5PHTh1niJXFuF59ufmz7wX9KX77cAJESTAqlEu9OiFPdfj3ifGRc15WMJ9VhAy/72346WJRrkeBaQbtNzDWMWiwQFfthOD5aXRttJzdmf9NRyxaPn03hEyF2jMmvYIwnU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755079711; c=relaxed/simple; bh=UrCUu1lsCZ02PGLPtQTttqg5WHxulGBjpt8i7CfbHM0=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=udIOjL1b+MJxmdRpSJaIDzAF7jHbZsa25uOHW921XadbyDt/ezYvHznv9bMMqYBD5F9wRvMjyJzucP60iHhYQQQ719DQHO9JV8TToeMnFsxKvzKlSZpbXbPfQ3muooVI/DXMYWQAmbLTfJ4pQCqFoFrx2j4CSJ1qeULJpSS3Mrc= 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=ELFBfiF2; arc=none smtp.client-ip=198.47.23.234 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="ELFBfiF2" Received: from fllvem-sh04.itg.ti.com ([10.64.41.54]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTP id 57DA8CNY1676905; Wed, 13 Aug 2025 05:08:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1755079692; bh=kJoQ0U5iZkv2gZ3rcH8/lGiyZIxLnQJHkaYtl5MMBJs=; h=From:To:CC:Subject:Date; b=ELFBfiF2SldOoTEtUXDarEpfl1YnJnjhhTA4c1i7ldBfLZoRXggqco480ISAilzVv P3xy658TYZloICfxeq0UNSWKZ0Dtay4awhESiodkzByQj8Dqh+kAAyV2BFSloEzwQu moxw/DCqWRopPKieBjwVZ01q2O3zYximLlBSdnWg= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllvem-sh04.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 57DA8Cdm996491 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Wed, 13 Aug 2025 05:08:12 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Wed, 13 Aug 2025 05:08:11 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Wed, 13 Aug 2025 05:08:11 -0500 Received: from lelvem-mr06.itg.ti.com ([10.250.165.138]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 57DA87SF2144906; Wed, 13 Aug 2025 05:08:08 -0500 From: Baojun Xu To: CC: , , <13916275206@139.com>, , , , , Subject: [PATCH v1] ASoC: tas2781: Normalize the volume kcontrol name Date: Wed, 13 Aug 2025 18:07:08 +0800 Message-ID: <20250813100708.12197-1-baojun.xu@ti.com> X-Mailer: git-send-email 2.43.0.windows.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Change the name of the kcontrol from "Gain" to "Volume". Signed-off-by: Baojun Xu --- sound/soc/codecs/tas2781-i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c index aa5f56615dad..e4ca43e006db 100644 --- a/sound/soc/codecs/tas2781-i2c.c +++ b/sound/soc/codecs/tas2781-i2c.c @@ -908,10 +908,10 @@ static const struct snd_kcontrol_new tasdevice_cali_c= ontrols[] =3D { }; =20 static const struct snd_kcontrol_new tas2781_snd_controls[] =3D { - SOC_SINGLE_RANGE_EXT_TLV("Speaker Analog Gain", TAS2781_AMP_LEVEL, + SOC_SINGLE_RANGE_EXT_TLV("Speaker Analog Volume", TAS2781_AMP_LEVEL, 1, 0, 20, 0, tas2781_amp_getvol, tas2781_amp_putvol, amp_vol_tlv), - SOC_SINGLE_RANGE_EXT_TLV("Speaker Digital Gain", TAS2781_DVC_LVL, + SOC_SINGLE_RANGE_EXT_TLV("Speaker Digital Volume", TAS2781_DVC_LVL, 0, 0, 200, 1, tas2781_digital_getvol, tas2781_digital_putvol, dvc_tlv), }; --=20 2.43.0