diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-11 22:59:48 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-18 15:06:26 +0900 |
commit | 82e993fac48674b0231b835516e0fdae94285b9b (patch) | |
tree | 2541da59231435dab093531ff8281baa53880158 /sound/soc/codecs/wm2200.c | |
parent | 5851cb3daf31a7865983ac131be87af92ab4ff7a (diff) |
ASoC: wm2200: Add controls for firmware enumeration
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm2200.c')
-rw-r--r-- | sound/soc/codecs/wm2200.c | 4 |
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; } |