ASoC: wm_adsp: Add wm_adsp_start() and wm_adsp_stop()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 23 Feb 2024 15:39:05 +0000 (15:39 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 23 Feb 2024 17:21:38 +0000 (17:21 +0000)
commit5519ac3a7164d5d1c31879bf5b0d279b58c8e88f
tree645720ad8ee9f6e944b6725dad3ef1e76ed6e430
parentb401b621758e46812da61fa58a67c3fd8d91de0d
ASoC: wm_adsp: Add wm_adsp_start() and wm_adsp_stop()

Separate the functionality of wm_adsp_event() into two exported
functions wm_adsp_start() and wm_adsp_stop().

This allows the codec driver to start and stop the DSP outside of a
DAPM widget.

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