From: Mark Brown Date: Fri, 11 Jan 2013 22:59:48 +0000 (+0000) Subject: ASoC: wm2200: Add controls for firmware enumeration X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=82e993fac48674b0231b835516e0fdae94285b9b;p=linux-beck.git ASoC: wm2200: Add controls for firmware enumeration Signed-off-by: Mark Brown --- 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; }