summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5110.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-06-22 12:19:45 +0200
committerMark Brown <broonie@kernel.org>2015-06-22 12:19:45 +0200
commit6791142f41dc3a92a589f66c0af2db7e5fd572a1 (patch)
treed2f8249a7b6b935f0e344314bb6a7f94612e5727 /sound/soc/codecs/wm5110.c
parentMerge tag 'asoc-v4.2-2' into asoc-next (diff)
parentASoC: wm_adsp: Move DSP Rate controls into the codec (diff)
downloadlinux-6791142f41dc3a92a589f66c0af2db7e5fd572a1.tar.xz
linux-6791142f41dc3a92a589f66c0af2db7e5fd572a1.zip
Merge remote-tracking branch 'asoc/topic/arizona' into asoc-next
Diffstat (limited to 'sound/soc/codecs/wm5110.c')
-rw-r--r--sound/soc/codecs/wm5110.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c
index 5f032a37b61f..709fcc6169d8 100644
--- a/sound/soc/codecs/wm5110.c
+++ b/sound/soc/codecs/wm5110.c
@@ -1614,6 +1614,12 @@ static int wm5110_codec_probe(struct snd_soc_codec *codec)
return ret;
}
+ ret = snd_soc_add_codec_controls(codec,
+ arizona_adsp2_rate_controls,
+ WM5110_NUM_ADSP);
+ if (ret)
+ return ret;
+
snd_soc_dapm_disable_pin(dapm, "HAPTICS");
return 0;