ASoC: SOF: Use guard()/scoped_guard() for mutex locks where it makes sense

Replace the manual mutex lock/unlock pairs with guard()/scoped_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-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Peter Ujfalusi 2026-01-12 12:09:58 +02:00 • committed by Mark Brown
commit 5c19da34df
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
10 changed files with 51 additions and 104 deletions