ASoC: soc-core: add soc_dapm_suspend_resume()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 27 Nov 2020 00:07:40 +0000 (09:07 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 27 Nov 2020 13:50:26 +0000 (13:50 +0000)
commitbaed393e8550fa075512772fad27e98ba9dcb527
tree41aad19de7829b8fc6431484bf6279667d598dad
parentd4c1d9eb6611fee6cd3623e810282342757b57f6
ASoC: soc-core: add soc_dapm_suspend_resume()

snd_soc_suspend() and soc_resume_deferred() are calling
same snd_soc_dapm_stream_event() with same logic with different parameter.
This patch adds new soc_dapm_suspend_resume() and share the code.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87im9rekfp.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c