]> 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)
commitdde1ced0598fff6e37d2b26edec2a79424369afc
tree45360b4c258a7873f543aa0d74920f219d6d8707
parent044c86640cb20d3d4ef9ca5c462547d90b13bfa3
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