Re: [PATCH 06/14] ALSA: hda: cs35l56: Use auto-cleanup for firmware loading

Richard Fitzgerald <[email protected]> Thu, 30 Jul 2026 15:51:58 +0100
Newsgroups org.kernel.vger.linux-sound
Message-ID <[email protected]>
On 29/7/26 09:37, Takashi Iwai wrote:
> Simplify the code to manage the firmware loading with auto-cleanup.
> By the use of __free(firmware), we can replace the manual mutex locks
> with guard() gracefully, too.
> 
> Only the code refactoring, no functional changes.
> 
> Cc: [email protected]
> Signed-off-by: Takashi Iwai <[email protected]>
> ---
>   sound/hda/codecs/side-codecs/cs35l56_hda.c | 35 ++++++----------------
>   1 file changed, 9 insertions(+), 26 deletions(-)

Reviewed-by: Richard Fitzgerald <[email protected]>