]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Support streams which can start/stop with DSP active
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 26 Feb 2018 10:49:47 +0000 (10:49 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 26 Feb 2018 10:53:41 +0000 (10:53 +0000)
commit84411fff0df69af510474fc653b4683554cf7475
treee7b28daad22f1ce9298622c95f6325fa97e45a59
parente6c6d1c55730c2b3f99994be6660f2992dcba743
ASoC: wm_adsp: Support streams which can start/stop with DSP active

Clear the buffer data structure on each trigger start such that the
buffer is in a sensible state even if the DSP itself didn't restart.
This is necessary to support voice control streams which can trigger
multiple times without reloading the firmware.

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