Re: [PATCH] sound:hdmi:fix without unlocked before return

From: Takashi Iwai
Date: Wed Apr 29 2020 - 03:27:58 EST


On Sun, 26 Apr 2020 15:17:22 +0200,
Wu Bo wrote:
>
> Fix the following coccicheck warning:
> sound/pci/hda/patch_hdmi.c:1852:2-8: preceding lock on line 1846
>
> After add sanity check to pass klockwork check,
> The spdif_mutex should be unlock before return true
> in check_non_pcm_per_cvt().
>
> Signed-off-by: Wu Bo <wubo40@xxxxxxxxxx>

Applied now with the correction of subject and Fixes tag as well as
Cc-to-stable tag.


thanks,

Takashi