mbox series

[resend,0/3] ASoC: cleanup mutex lock

Message ID 87leirtkh2.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
Headers show
Series ASoC: cleanup mutex lock | expand

Message

Kuninori Morimoto April 17, 2023, 12:34 a.m. UTC
Hi Mark

This is resend patch-set.

ASoC is using many type of mutex lock, but
some of them has helper function, but some doesn't.
Or, it has, but can't be used because of static.

This patch-set adds helper function and use it.

Kuninori Morimoto (3):
  ASoC: expand snd_soc_dapm_mutex_lock/unlock()
  ASoC: expand snd_soc_dpcm_mutex_lock/unlock()
  ASoC: add snd_soc_card_mutex_lock/unlock()

 include/sound/soc-card.h  |  17 +++++-
 include/sound/soc-dapm.h  |   5 --
 include/sound/soc.h       | 105 +++++++++++++++++++++++++++++++--
 sound/soc/soc-component.c |  12 ++--
 sound/soc/soc-compress.c  |  60 +++++++++----------
 sound/soc/soc-core.c      |   8 +--
 sound/soc/soc-dapm.c      | 119 +++++++++++++++++++-------------------
 sound/soc/soc-pcm.c       |  17 +-----
 8 files changed, 216 insertions(+), 127 deletions(-)