Skip to content

Commit 47ed64d

Browse files
jimxbj-dotbroonie
authored andcommitted
ASoC: tas2781: Normalize the volume kcontrol name
Change the name of the kcontrol from "Gain" to "Volume". Signed-off-by: Baojun Xu <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 0ebbab4 commit 47ed64d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/tas2781-i2c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,10 +908,10 @@ static const struct snd_kcontrol_new tasdevice_cali_controls[] = {
908908
};
909909

910910
static const struct snd_kcontrol_new tas2781_snd_controls[] = {
911-
SOC_SINGLE_RANGE_EXT_TLV("Speaker Analog Gain", TAS2781_AMP_LEVEL,
911+
SOC_SINGLE_RANGE_EXT_TLV("Speaker Analog Volume", TAS2781_AMP_LEVEL,
912912
1, 0, 20, 0, tas2781_amp_getvol,
913913
tas2781_amp_putvol, amp_vol_tlv),
914-
SOC_SINGLE_RANGE_EXT_TLV("Speaker Digital Gain", TAS2781_DVC_LVL,
914+
SOC_SINGLE_RANGE_EXT_TLV("Speaker Digital Volume", TAS2781_DVC_LVL,
915915
0, 0, 200, 1, tas2781_digital_getvol,
916916
tas2781_digital_putvol, dvc_tlv),
917917
};

0 commit comments

Comments
 (0)