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

2020-04-29 Thread Wu Bo
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

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

2020-04-29 Thread Takashi Iwai
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(). >