diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-16 10:04:57 +0900 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-16 10:25:24 +0900 |
commit | 5851cb3daf31a7865983ac131be87af92ab4ff7a (patch) | |
tree | 839f1ca9f273facd4d427d44c1e6c1f2f25af051 /sound | |
parent | 2ce4616e4f1d68193819e5d605f719678acc1992 (diff) | |
download | op-kernel-dev-5851cb3daf31a7865983ac131be87af92ab4ff7a.zip op-kernel-dev-5851cb3daf31a7865983ac131be87af92ab4ff7a.tar.gz |
ASoC: wm2200: Initialise the ADSPs
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm2200.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c index afcf31d..90aae49 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; |