ALSA: hda: Use scoped_guard() for remaining manual mutex handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ALSA: hda/cs35l41: Use scoped_guard() for fw_mutex in cs35l41_hda_bind()sound/ | +28 | 0 replies | |
| 2/3 | ALSA: hda/cs35l56: Use scoped_guard() for irq_lock in cs35l56_hda_fw_load()sound/ | +51 | 0 replies | |
| 3/3 | ALSA: hda: Use scoped_guard() for open_mutex in azx_pcm_open()sound/ | +82 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] ALSA: hda: Use scoped_guard() for remaining manual mutex handling
From: wangdicheng <[email protected]>
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(-)
Signature · 1 line
2.25.1