diff options
author | Marek Vasut <marex@denx.de> | 2024-11-11 17:55:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-11-11 17:00:37 +0000 |
commit | d0621105eff307408ceb3d0eb61ca2a23c37fcbe (patch) | |
tree | aff0e7c7df5431c6ba35468d30f5dfe17754850e /sound | |
parent | 14c7f4867b7e4ddbbde58b398452295051c77137 (diff) | |
download | lwn-d0621105eff307408ceb3d0eb61ca2a23c37fcbe.tar.gz lwn-d0621105eff307408ceb3d0eb61ca2a23c37fcbe.zip |
ASoC: max98088: Add headphone mixer switch
Add enable/disable headphone output mixers knob.
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patch.msgid.link/20241111165523.113142-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/max98088.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index d679bd9175eb..8915f5250695 100644 --- a/sound/soc/codecs/max98088.c +++ b/sound/soc/codecs/max98088.c @@ -489,6 +489,9 @@ static const struct snd_kcontrol_new max98088_snd_controls[] = { SOC_SINGLE("ADCL Boost Volume", M98088_REG_33_LVL_ADC_L, 4, 3, 0), SOC_SINGLE("ADCR Boost Volume", M98088_REG_34_LVL_ADC_R, 4, 3, 0), + SOC_SINGLE("Left HP Output Mixer Switch", M98088_REG_27_MIX_HP_CNTL, 4, 1, 0), + SOC_SINGLE("Right HP Output Mixer Switch", M98088_REG_27_MIX_HP_CNTL, 5, 1, 0), + SOC_SINGLE("EQ1 Switch", M98088_REG_49_CFG_LEVEL, 0, 1, 0), SOC_SINGLE("EQ2 Switch", M98088_REG_49_CFG_LEVEL, 1, 1, 0), |