mbox series

[v2,0/3] ALSA: control: Locking optimization and cleanups

Message ID 20240809104234.8488-1-tiwai@suse.de (mailing list archive)
Headers show
Series ALSA: control: Locking optimization and cleanups | expand

Message

Takashi Iwai Aug. 9, 2024, 10:42 a.m. UTC
Hi,

this is a revised patch set for reduce the locking at control elements
look-up and cleanups of APIs.

Only the 3rd patch was updated for catching up the recent ASoC change
to add snd_soc_component_get_kcontrol_locked() which is dropped here
as well.  No other changes since v1.

v1: https://lore.kernel.org/20240801074617.4997-1-tiwai@suse.de


Takashi

===

Takashi Iwai (3):
  ALSA: control: Rename ctl_files_rwlock to controls_rwlock
  ALSA: control: Optimize locking for look-up
  ASoC: Drop snd_soc_*_get_kcontrol_locked()

 include/sound/control.h       |  25 ------
 include/sound/core.h          |   2 +-
 include/sound/soc-card.h      |   2 -
 include/sound/soc-component.h |   3 -
 sound/core/control.c          | 151 +++++++++++++---------------------
 sound/core/control_compat.c   |   2 +-
 sound/core/control_led.c      |   2 +-
 sound/core/init.c             |   2 +-
 sound/core/oss/mixer_oss.c    |  10 +--
 sound/soc/codecs/cs35l45.c    |   2 +-
 sound/soc/fsl/fsl_xcvr.c      |   2 +-
 sound/soc/soc-card-test.c     |  57 -------------
 sound/soc/soc-card.c          |  10 ---
 sound/soc/soc-component.c     |  12 ---
 14 files changed, 70 insertions(+), 212 deletions(-)