Merge es8316 update from @Locutus73

This commit is contained in:
fewtarius 2022-11-10 08:06:47 -05:00
parent 7c544f6d0c
commit 76f658e7aa
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -12406,3 +12406,15 @@ diff -rupN linux.orig/Makefile linux/Makefile
# Require designated initializers for all marked structures
KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
diff -rupN linux.orig/sound/soc/codecs/es8316.c linux/sound/soc/codecs/es8316.c
--- linux.orig/sound/soc/codecs/es8316.c 2022-11-01 17:55:31.446329239 -0400
+++ linux/sound/soc/codecs/es8316.c 2022-11-10 08:02:52.495185238 -0500
@@ -92,7 +92,7 @@ static const struct snd_kcontrol_new es8
4, 0, 11, 0, hpmixer_gain_tlv),
SOC_ENUM("Playback Polarity", dacpol),
- SOC_DOUBLE_R_TLV("DAC Playback Volume", ES8316_DAC_VOLL,
+ SOC_DOUBLE_R_TLV("Master Playback Volume", ES8316_DAC_VOLL,
ES8316_DAC_VOLR, 0, 0xc0, 1, dac_vol_tlv),
SOC_SINGLE("DAC Soft Ramp Switch", ES8316_DAC_SET1, 4, 1, 1),
SOC_SINGLE("DAC Soft Ramp Rate", ES8316_DAC_SET1, 2, 4, 0),