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

From: Wu Bo
Date: Thu Apr 30 2020 - 00:37:21 EST


On 2020/4/29 15:27, Takashi Iwai wrote:
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

.


Thank you, I am sorry to forget to modify the V2 Patch version in time.

thanks,
Wu Bo