21 Sep
2016
21 Sep
'16
6:14 p.m.
On Tue, Sep 20, 2016 at 01:52:34PM +0100, Charles Keepax wrote:
Between when we load the DSP and when it actually starts running put the core into a lower power state where the memory is retained but nothing is clocked.
Signed-off-by: Charles Keepax ckeepax@opensource.wolfsonmicro.com
@@ -2344,6 +2355,11 @@ int wm_adsp2_event(struct snd_soc_dapm_widget *w, if (!dsp->booted) return -EIO;
ret = regmap_update_bits(dsp->regmap, dsp->base + ADSP2_CONTROL,
ADSP2_SYS_ENA, ADSP2_SYS_ENA);
if (ret != 0)
goto err;
We actually need to wait for RAM_RDY again here, I will fire out a new version of the patches in the next day or two.
Thanks, Charles