summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-11 22:59:48 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-18 15:06:26 +0900
commit82e993fac48674b0231b835516e0fdae94285b9b (patch)
tree2541da59231435dab093531ff8281baa53880158 /sound/soc
parent5851cb3daf31a7865983ac131be87af92ab4ff7a (diff)
downloadlinux-82e993fac48674b0231b835516e0fdae94285b9b.tar.gz
linux-82e993fac48674b0231b835516e0fdae94285b9b.tar.bz2
linux-82e993fac48674b0231b835516e0fdae94285b9b.zip
ASoC: wm2200: Add controls for firmware enumeration
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm2200.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c
index 90aae49350e3..d400291110b0 100644
--- a/sound/soc/codecs/wm2200.c
+++ b/sound/soc/codecs/wm2200.c
@@ -1551,6 +1551,10 @@ static int wm2200_probe(struct snd_soc_codec *codec)
return ret;
}
+ ret = snd_soc_add_codec_controls(codec, wm_adsp_fw_controls, 2);
+ if (ret != 0)
+ return ret;
+
return ret;
}