]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Allow preloader to do the final shutdown of the DSP
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 26 Sep 2016 09:15:24 +0000 (10:15 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 26 Sep 2016 16:03:54 +0000 (09:03 -0700)
commiteece3db823ed6ae3d59bc1064c179fc4d1596d61
tree45360b4c258a7873f543aa0d74920f219d6d8707
parent3869578f8e2ea6514f54b452d5dbfbc121f3c0ef
ASoC: wm_adsp: Allow preloader to do the final shutdown of the DSP

The booting process for the DSP is clearly separated into two parts, the
preloader brings up the core and downloads code, then the main widget
starts the code actually executing. However the shutdown sequence is all
handled with the main widget.

To allow the preloading to be run independently of the main audio bring
up it makes sense, and is generally just cleaner, for the preloader
widget to shutdown those things it initialised. This patch moves the
appropriate parts of the shutdown process into the preloader widget.

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