summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-16 02:04:57 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-16 02:25:24 +0100
commit5851cb3daf31a7865983ac131be87af92ab4ff7a (patch)
tree839f1ca9f273facd4d427d44c1e6c1f2f25af051 /sound/soc/codecs
parentMerge remote-tracking branch 'asoc/topic/adsp' into asoc-wm2200 (diff)
downloadlinux-5851cb3daf31a7865983ac131be87af92ab4ff7a.tar.xz
linux-5851cb3daf31a7865983ac131be87af92ab4ff7a.zip
ASoC: wm2200: Initialise the ADSPs
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm2200.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c
index afcf31df77e0..90aae49350e3 100644
--- a/sound/soc/codecs/wm2200.c
+++ b/sound/soc/codecs/wm2200.c
@@ -2224,6 +2224,9 @@ static int wm2200_i2c_probe(struct i2c_client *i2c,
wm2200->dsp[1].mem = wm2200_dsp2_regions;
wm2200->dsp[1].num_mems = ARRAY_SIZE(wm2200_dsp2_regions);
+ for (i = 0; i < ARRAY_SIZE(wm2200->dsp); i++)
+ wm_adsp1_init(&wm2200->dsp[i]);
+
if (pdata)
wm2200->pdata = *pdata;