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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

this is a series of patches to reduce the locking at control elements
look-up and cleanups of APIs.  It was inspired from the discussion
thread about the mutex inversions of Cirrus codec driver, but this
version goes further, dropping the locking in normal use cases.

The snd_ctl_find_*_unlocked() API functions are completely dropped, as
there is no real use any longer.

The patch touches / removes ASoC code to drop and replace *_locked()
API calls.


Takashi

===

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

 include/sound/control.h     |  25 ------
 include/sound/core.h        |   2 +-
 include/sound/soc-card.h    |   2 -
 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 ---
 12 files changed, 70 insertions(+), 197 deletions(-)

-- 
2.43.0





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux