OSDN Git Service

ASoC: soc-core: snd_soc_dai_digital_mute() for both CPU/Codec
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 17 Jul 2020 00:22:02 +0000 (09:22 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jul 2020 13:22:56 +0000 (14:22 +0100)
commita0234d0e6014a17c61311fc39b9adc194114c5f6
treece5e066a49a30527dea4cd90f5ebeafca8641763
parent3274ed4d5dd3bcb8b157760b7e32d4f571bac8a5
ASoC: soc-core: snd_soc_dai_digital_mute() for both CPU/Codec

snd_soc_dai_digital_mute() is used for both CPU and Codec.
For example, soc_pcm_prepare() / soc_pcm_hw_free() are caring
both CPU and Codec.

But soc_resume_deferred() / snd_soc_suspend() are not.
This patch cares it.

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