Re: [PATCH 0/7] ASoC: ti: Cleanup locking code using guard() helpers

From: Jarkko Nikula

Date: Sat May 09 2026 - 08:28:29 EST


On 08/05/2026 1:38 pm, phucduc.bui@xxxxxxxxx wrote:
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> Hi all,
>
> 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.
For this set + Tested-by tags for the patches 6 and 7:

Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxx>