ASoC: wm_adsp: Move core_ena to be co-located with start bit
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 18 Nov 2014 16:25:27 +0000 (16:25 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 18 Nov 2014 17:27:02 +0000 (17:27 +0000)
commit00e4c3b6e285da90e736fbefff3d9e74a200ee54
tree18a17d5b24e8e455b42b61ace2edadc6818a8fe6
parent9da7a5a9fdeeb76b2243f6b473363a7e6147ab6f
ASoC: wm_adsp: Move core_ena to be co-located with start bit

Many firmwares do not wait for the start bit before they begin
processing audio, whilst this is a bug on the firmware side there are
too many such firmwares in the wild to ignore the situation. This patch
moves the core enable to happen at same time as the start, the firmware
looses the ability to overlap its own startup with the audio path bring
up but we ensure that all firmwares behave.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c