Re: [PATCH 12/24] ASoC: codecs: cs-amp-lib: Use guard() for mutex locks

From: Bui Duc Phuc

Date: Fri Jun 26 2026 - 05:37:12 EST


>
> It doesn't look cleaner.
> But anyway,
> Reviewed-by: Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxx>
>

Thanks for the review.

Guards are particularly nice when they can eliminate goto labels and
make the code easier to follow.
In this file, as you pointed out, they don't make much difference.
Even so, I wanted to keep the style consistent across the driver,
so I tried to convert as many suitable cases as possible.

Best regards,
Phuc