ASoC: ssm4567: Add DAC high-pass-filter control
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 6 Nov 2014 14:59:22 +0000 (15:59 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 6 Nov 2014 16:05:10 +0000 (16:05 +0000)
Add a switch which can be used to enable/disable the DAC high-pass-filter.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ssm4567.c

index 4b5c17f8507ed0a6235d7c9fd1b1f2973a30b221..e1e33d8cb55a8cf0d91f49c33abb2af8bb63325d 100644 (file)
@@ -145,6 +145,8 @@ static const struct snd_kcontrol_new ssm4567_snd_controls[] = {
        SOC_SINGLE_TLV("Master Playback Volume", SSM4567_REG_DAC_VOLUME, 0,
                0xff, 1, ssm4567_vol_tlv),
        SOC_SINGLE("DAC Low Power Mode Switch", SSM4567_REG_DAC_CTRL, 4, 1, 0),
+       SOC_SINGLE("DAC High Pass Filter Switch", SSM4567_REG_DAC_CTRL,
+               5, 1, 0),
 };
 
 static const struct snd_soc_dapm_widget ssm4567_dapm_widgets[] = {