]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: wm2200: Initialise the ADSPs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Jan 2013 01:04:57 +0000 (10:04 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Jan 2013 01:25:24 +0000 (10:25 +0900)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm2200.c

index afcf31df77e06efe19c709630f53990741348227..90aae49350e34fd2ce4594b9e568d82dff3f21f8 100644 (file)
@@ -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;