OSDN Git Service

ASoC: wm_adsp: Expose the DSP power down actions as wm_adsp_power_down()
authorSimon Trimmer <simont@opensource.cirrus.com>
Tue, 8 Aug 2023 16:47:01 +0000 (17:47 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Aug 2023 21:34:03 +0000 (22:34 +0100)
commitd0a3a6ad0d3b24578f1b3832ad1d7fbdb20f7a20
tree362ea9a242fb2b9c4255f0dc2fe0fb303fda3e69
parentf5eb9503e80e70c22e3d3f73a5d3c149c132407f
ASoC: wm_adsp: Expose the DSP power down actions as wm_adsp_power_down()

To support self-booting DSPs that operate outside of a conventional DAPM
event life cycle expose a companion function to wm_adsp_power_up() so
that the correct state of the DSP firmware and controls can be recorded.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230808164702.21272-5-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h