]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: mediatek: Use guard() for mutex & spin locks
authorMark Brown <broonie@kernel.org>
Thu, 11 Jun 2026 19:59:21 +0000 (20:59 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 11 Jun 2026 19:59:21 +0000 (20:59 +0100)
bui duc phuc <phucduc.bui@gmail.com> says:

This series converts mutex and spinlock handling in Mediatek ASoC drivers
to use guard() helpers.

Most patches are straightforward conversions to guard() helpers with no
functional change intended.

One exception is mt8192-afe-gpio, where the mutex release point moves from
immediately before dev_warn() to scope exit. However, the affected path
only emits a warning and immediately returns -EINVAL, without any further
processing.

Compile-tested only.

Link: https://patch.msgid.link/20260610102021.83273-1-phucduc.bui@gmail.com
1  2 
sound/soc/amd/yc/acp6x-mach.c

Simple merge