[PATCH 16/27] ASoC: codecs: peb2466: Use guard() for mutex locks

Herve Codina herve.codina at bootlin.com
Mon Jun 29 23:54:39 PDT 2026


Hi,

On Tue, 30 Jun 2026 13:34:38 +0700
phucduc.bui at gmail.com wrote:

> From: bui duc phuc <phucduc.bui at gmail.com>
> 
> Clean up the code using guard() for mutex locks.
> Merely code refactoring, and no behavior change.
> 
> Signed-off-by: bui duc phuc <phucduc.bui at gmail.com>
> ---
>  sound/soc/codecs/peb2466.c | 16 ++++++----------
>  1 file changed, 6 insertions(+), 10 deletions(-)
> 
> diff --git a/sound/soc/codecs/peb2466.c b/sound/soc/codecs/peb2466.c
> index 2d71d204d8fa..5a1ed02abb84 100644
> --- a/sound/soc/codecs/peb2466.c
> +++ b/sound/soc/codecs/peb2466.c

Reviewed-by: Herve Codina <herve.codina at bootlin.com>

Best regards,
Hervé




More information about the Linux-mediatek mailing list