From: Takashi Iwai <tiwai@suse.de>
To: linux-sound@vger.kernel.org
Subject: [PATCH v2 0/3] ALSA: control: Locking optimization and cleanups
Date: Fri, 9 Aug 2024 12:42:28 +0200 [thread overview]
Message-ID: <20240809104234.8488-1-tiwai@suse.de> (raw)
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(-)
--
2.43.0
next reply other threads:[~2024-08-09 10:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-09 10:42 Takashi Iwai [this message]
2024-08-09 10:42 ` [PATCH v2 1/3] ALSA: control: Rename ctl_files_rwlock to controls_rwlock Takashi Iwai
2024-08-09 10:42 ` [PATCH v2 2/3] ALSA: control: Optimize locking for look-up Takashi Iwai
2024-08-09 10:42 ` [PATCH v2 3/3] ASoC: Drop snd_soc_*_get_kcontrol_locked() Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240809104234.8488-1-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-sound@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox