From: Mark Brown Date: Mon, 11 May 2026 00:58:51 +0000 (+0900) Subject: ASoC: ti: Cleanup locking code using guard() helpers X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f86caf5ff6a408efda76ee2c6183d8f450d064d4;p=thirdparty%2Fkernel%2Flinux.git ASoC: ti: Cleanup locking code using guard() helpers phucduc.bui@gmail.com says: This series converts mutex and spinlock handling in TI ASoC drivers to use guard() helpers. Most patches are straightforward conversions to guard() helpers. Two patches include minor cleanup changes in the process: omap-dmic: Simplified omap_dmic_dai_startup() by removing the temporary return variable and using a direct return path on error. omap-mcbsp: Modernized omap_mcbsp_request() by using __free(kfree) for memory management. This ensures that memory is always freed on error paths after the spinlock is released, without needing manual goto labels. No behavior change intended. Link: https://patch.msgid.link/20260508103837.138142-1-phucduc.bui@gmail.com --- f86caf5ff6a408efda76ee2c6183d8f450d064d4