public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] ASoC: SOF: Use guard()/scoped_guard() for locks when makes sense
@ 2026-01-12 10:09 Peter Ujfalusi
  2026-01-12 10:09 ` [PATCH 1/7] ASoC: SOF: Use guard()/scoped_guard() for mutex locks where it " Peter Ujfalusi
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Peter Ujfalusi @ 2026-01-12 10:09 UTC (permalink / raw)
  To: lgirdwood, broonie
  Cc: linux-sound, kai.vehmanen, ranjani.sridharan, yung-chuan.liao,
	pierre-louis.bossart, daniel.baluta

Hi,

Only code refactoring, and no behavior change.

Replace most of the manual *lock/*unlock handling with guard use.

Regards,
Peter
---
Peter Ujfalusi (7):
  ASoC: SOF: Use guard()/scoped_guard() for mutex locks where it makes
    sense
  ASoC: SOF: Intel: Use guard()/scoped_guard() for mutex locks where it
    makes sense
  ASoC: SOF: amd: acp-ipc: Use guard() for spinlock_irq()
  ASoC: SOF: imx: imx-common: Use guard() for spinlock_irqsafe()
  ASoC: SOF: mediatek: mtk-adsp-common: Use guard() for spinlock_irqsave
  ASoC: SOF: Intel: Use guard() for spinlocks where it makes sense
  ASoC: SOF: ipc/ops: Use guard() for spinlocks

 sound/soc/sof/amd/acp-ipc.c              |  4 +--
 sound/soc/sof/imx/imx-common.c           |  8 ++---
 sound/soc/sof/intel/atom.c               |  7 +---
 sound/soc/sof/intel/bdw.c                |  7 +---
 sound/soc/sof/intel/cnl.c                | 11 ++----
 sound/soc/sof/intel/hda-dai-ops.c        | 25 ++++++-------
 sound/soc/sof/intel/hda-ipc.c            | 11 ++----
 sound/soc/sof/intel/hda-mlink.c          | 29 +++++----------
 sound/soc/sof/intel/hda-stream.c         | 11 +++---
 sound/soc/sof/intel/mtl.c                |  5 +--
 sound/soc/sof/ipc.c                      |  9 ++---
 sound/soc/sof/ipc3-topology.c            |  6 ++--
 sound/soc/sof/ipc3.c                     |  8 ++---
 sound/soc/sof/ipc4-mtrace.c              | 24 +++++--------
 sound/soc/sof/ipc4-pcm.c                 |  3 +-
 sound/soc/sof/ipc4-topology.c            |  5 +--
 sound/soc/sof/ipc4.c                     |  8 ++---
 sound/soc/sof/mediatek/mtk-adsp-common.c |  4 +--
 sound/soc/sof/ops.c                      | 34 ++++--------------
 sound/soc/sof/ops.h                      | 10 ++----
 sound/soc/sof/sof-audio.c                | 46 +++++++++---------------
 sound/soc/sof/sof-client.c               | 40 ++++++---------------
 22 files changed, 95 insertions(+), 220 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-01-13 13:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-12 10:09 [PATCH 0/7] ASoC: SOF: Use guard()/scoped_guard() for locks when makes sense Peter Ujfalusi
2026-01-12 10:09 ` [PATCH 1/7] ASoC: SOF: Use guard()/scoped_guard() for mutex locks where it " Peter Ujfalusi
2026-01-12 10:09 ` [PATCH 2/7] ASoC: SOF: Intel: " Peter Ujfalusi
2026-01-12 10:10 ` [PATCH 3/7] ASoC: SOF: amd: acp-ipc: Use guard() for spinlock_irq() Peter Ujfalusi
2026-01-12 10:10 ` [PATCH 4/7] ASoC: SOF: imx: imx-common: Use guard() for spinlock_irqsafe() Peter Ujfalusi
2026-01-12 10:10 ` [PATCH 5/7] ASoC: SOF: mediatek: mtk-adsp-common: Use guard() for spinlock_irqsave Peter Ujfalusi
2026-01-12 10:10 ` [PATCH 6/7] ASoC: SOF: Intel: Use guard() for spinlocks where it makes sense Peter Ujfalusi
2026-01-12 10:10 ` [PATCH 7/7] ASoC: SOF: ipc/ops: Use guard() for spinlocks Peter Ujfalusi
2026-01-13 13:49 ` [PATCH 0/7] ASoC: SOF: Use guard()/scoped_guard() for locks when makes sense Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox