ASoC: wm_adsp: Expose the DSP boot work actions as wm_adsp_power_up()
authorSimon Trimmer <simont@opensource.cirrus.com>
Mon, 20 Mar 2023 11:22:42 +0000 (11:22 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 21 Mar 2023 12:13:21 +0000 (12:13 +0000)
commit11520b87e2232c6e3defed69ec94f0e28fb80f84
tree296fef92dfad8c996045f57bf5c35008c0d1ca8b
parent65a314b7ddc09f6b1bad8decc6670e68d45ef07d
ASoC: wm_adsp: Expose the DSP boot work actions as wm_adsp_power_up()

To support self-booting DSPs that are considered always running, the work
that is usually invoked as part of a DAPM sequence needs to be triggered
by a client of wm_adsp as part of it's startup sequence.

These actions load firmware files that might create ALSA controls and
apply configuration to the device.

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