]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SOF: Intel: Use guard() for spinlocks where it makes sense
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 12 Jan 2026 10:10:03 +0000 (12:10 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Jan 2026 11:21:28 +0000 (11:21 +0000)
commit294b9e7e8ecafd4dd4b1cc13d7585082451be0e7
tree25ef42917d2fece8c4df078fc25d6b0c488cde2f
parent36fabc449a055547960712c164bfa3fe77cf0a88
ASoC: SOF: Intel: Use guard() for spinlocks where it makes sense

Replace the manual spinlock lock/unlock pairs with guard().

Only code refactoring, and no behavior change.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20260112101004.7648-7-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/atom.c
sound/soc/sof/intel/bdw.c
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/hda-dai-ops.c
sound/soc/sof/intel/hda-ipc.c
sound/soc/sof/intel/hda-stream.c
sound/soc/sof/intel/mtl.c