From: Mark Brown Date: Wed, 16 Jan 2013 01:04:57 +0000 (+0900) Subject: ASoC: wm2200: Initialise the ADSPs X-Git-Tag: firefly_0821_release~3680^2~1005^2~16^2~11^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5851cb3daf31a7865983ac131be87af92ab4ff7a;p=firefly-linux-kernel-4.4.55.git ASoC: wm2200: Initialise the ADSPs Signed-off-by: Mark Brown --- 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;