[PATCH 0/3] ALSA: hda: Use scoped_guard() for remaining manual mutex handling

From: wangdich9700

Date: Wed Jul 01 2026 - 02:56:01 EST


From: wangdicheng <wangdicheng@xxxxxxxxxx>

Replace the remaining manual mutex_lock/mutex_unlock pairs in the
HD-Audio subsystem with scoped_guard(), which provides automatic
lock release through RAII-style scope management.

No functional changes in any patch.

wangdicheng (3):
ALSA: hda/cs35l41: Use scoped_guard() for fw_mutex in
cs35l41_hda_bind()
ALSA: hda/cs35l56: Use scoped_guard() for irq_lock in
cs35l56_hda_fw_load()
ALSA: hda: Use scoped_guard() for open_mutex in azx_pcm_open()

sound/hda/codecs/side-codecs/cs35l41_hda.c | 57 ++++----
sound/hda/codecs/side-codecs/cs35l56_hda.c | 104 +++++++-------
sound/hda/common/controller.c | 159 +++++++++++----------
3 files changed, 161 insertions(+), 159 deletions(-)

--
2.25.1