]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: add soc_playback_digital_mute()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 27 Nov 2020 00:07:35 +0000 (09:07 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 27 Nov 2020 13:50:25 +0000 (13:50 +0000)
commitcc0b8f6979197e5309c6b9f9eaa03a223e5a5891
tree87a12e21244d2b76ce755e9b62160b54f44d9686
parent883f53f1d98fca5ee85d13debe810a6de4f35c1c
ASoC: soc-core: add soc_playback_digital_mute()

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

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