mbox series

[0/2] ASoC: soc-core: share same logic code

Message ID 87lfenekgg.wl-kuninori.morimoto.gx@renesas.com
Headers show
Series ASoC: soc-core: share same logic code | expand

Message

Kuninori Morimoto Nov. 27, 2020, 12:07 a.m. UTC
Hi Mark

soc-core is using almost same code at some point.
The difference is only used parameter.
It is just duplicate code, and we can share it.
This patch-set sharing code for mute and for suspend/resume.

Kuninori Morimoto (2):
  ASoC: soc-core: add soc_playback_digital_mute()
  ASoC: soc-core: add soc_dapm_suspend_resume()

 sound/soc/soc-core.c | 84 ++++++++++++++++++++------------------------
 1 file changed, 38 insertions(+), 46 deletions(-)