summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ssm4567.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-06 17:59:22 +0300
committerMark Brown <broonie@kernel.org>2014-11-06 19:05:10 +0300
commitfeec843d6c4528263724ff3f4c463ea82bf63b4a (patch)
tree82f212de9180d158780c8e5a77820592b5a4fc63 /sound/soc/codecs/ssm4567.c
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-feec843d6c4528263724ff3f4c463ea82bf63b4a.tar.xz
ASoC: ssm4567: Add DAC high-pass-filter control
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>
Diffstat (limited to 'sound/soc/codecs/ssm4567.c')
-rw-r--r--sound/soc/codecs/ssm4567.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c
index 4b5c17f8507e..e1e33d8cb55a 100644
--- a/sound/soc/codecs/ssm4567.c
+++ b/sound/soc/codecs/ssm4567.c
@@ -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[] = {