Skip to content

ALSA: control: Locking optimization and cleanups

Takashi Iwai linux-sound 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: control: Rename ctl_files_rwlock to controls_rwlockinclude/sound/core.h sound/core/control.c sound/core/init.c+7 -70 replies
2/3ALSA: control: Optimize locking for look-upinclude/sound/control.h include/sound/core.h sound/core/control.c +3 more+64 -1150 replies
3/3ASoC: Drop snd_soc_*_get_kcontrol_locked()include/sound/control.h include/sound/soc-card.h include/sound/soc-component.h +5 more+2 -930 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMark Brown
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] ALSA: control: Locking optimization and cleanups

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/[email protected]

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(-)
Signature · 1 line
2.43.0