summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm2200.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-16 10:04:57 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-16 10:25:24 +0900
commit5851cb3daf31a7865983ac131be87af92ab4ff7a (patch)
tree839f1ca9f273facd4d427d44c1e6c1f2f25af051 /sound/soc/codecs/wm2200.c
parent2ce4616e4f1d68193819e5d605f719678acc1992 (diff)
downloadlwn-5851cb3daf31a7865983ac131be87af92ab4ff7a.tar.gz
lwn-5851cb3daf31a7865983ac131be87af92ab4ff7a.zip
ASoC: wm2200: Initialise the ADSPs
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm2200.c')
-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;