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)
commitd4c1d9eb6611fee6cd3623e810282342757b57f6
tree87a12e21244d2b76ce755e9b62160b54f44d9686
parent6d9b4dbf82c74e9c178e1ce2cff505f17cced23e
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