From: Mark Brown Date: Thu, 11 Jun 2026 19:59:21 +0000 (+0100) Subject: ASoC: mediatek: Use guard() for mutex & spin locks X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f07dde7074252653a17905b45bf92150029a47ae;p=thirdparty%2Flinux.git ASoC: mediatek: Use guard() for mutex & spin locks bui duc phuc 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 --- f07dde7074252653a17905b45bf92150029a47ae