[PATCH v2 0/4] ASoC: Intel: Convert locking to guard()/scoped_guard()
From: phucduc . bui
Date: Thu Jun 18 2026 - 07:07:11 EST
From: bui duc phuc <phucduc.bui@xxxxxxxxx>
Hi all,
This series converts mutex and spinlock handling in Intel ASoC drivers
to use guard()/scoped_guard() helpers.
Most changes are straightforward conversions intended to simplify lock
handling and cleanup paths, with no intended functional changes.
The series has been compile-tested only.
Link v1:
https://lore.kernel.org/all/20260611115901.80438-1-phucduc.bui@xxxxxxxxx/
Changes in v2:
- Reduce the series from 20 patches to 4 patches.
- Drop smaller conversions that did not provide clear benefits.
Best regards,
Phuc
bui duc phuc (4):
ASoC: Intel: avs: Use guard() for locking
ASoC: Intel: avs: Use scoped_guard() for scoped locking
ASoC: Intel: atom: Use scoped_guard() for scoped locking
ASoC: Intel: atom: Use guard() for locking
sound/soc/intel/atom/sst-atom-controls.c | 64 +++++++----------
sound/soc/intel/atom/sst-mfld-platform-pcm.c | 51 +++++---------
sound/soc/intel/atom/sst/sst_ipc.c | 4 +-
sound/soc/intel/atom/sst/sst_pvt.c | 8 +--
sound/soc/intel/avs/apl.c | 7 +-
sound/soc/intel/avs/control.c | 7 +-
sound/soc/intel/avs/core.c | 3 +-
sound/soc/intel/avs/debug.h | 9 +--
sound/soc/intel/avs/debugfs.c | 18 +++--
sound/soc/intel/avs/ipc.c | 73 +++++++++-----------
sound/soc/intel/avs/loader.c | 14 ++--
sound/soc/intel/avs/path.c | 29 +++-----
sound/soc/intel/avs/utils.c | 39 ++++-------
13 files changed, 125 insertions(+), 201 deletions(-)
--
2.43.0