ALSA: tas2783-sdw: add Playback to volume controls name
Subsystems (3)
PATCH 1/1 ALSA: tas2783-sdw: add Playback to volume controls name
Added Playback to volume controls to match the Standard ALSA Control Names
https://docs.kernel.org/sound/designs/control-names.html
Signed-off-by Neal Starkie <[email protected]>
--- sound/soc/codecs/tas2783-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/tas2783-sdw.c +2 -2
@@ -552,10 +552,10 @@ static s32 tas2783_amp_putvol(struct snd_kcontrol *kcontrol, }static const struct snd_kcontrol_new tas2783_snd_controls[] = { -SOC_SINGLE_RANGE_EXT_TLV ("Amp Volume" ,TAS2783_AMP_LEVEL , +SOC_SINGLE_RANGE_EXT_TLV ("Amp Playback Volume" ,TAS2783_AMP_LEVEL ,1 ,0 ,20 ,0 , tas2783_amp_getvol, tas2783_amp_putvol, tas2781_amp_tlv), -SOC_SINGLE_RANGE_EXT_TLV ("Speaker Volume" ,TAS2783_DVC_LVL , +SOC_SINGLE_RANGE_EXT_TLV ("Speaker Playback Volume" ,TAS2783_DVC_LVL ,0 ,0 ,200 ,1 , tas2783_digital_getvol, tas2783_digital_putvol, tas2781_dvc_tlv), };
Signature · 1 line
2.53.0