ALSA: x86: Fix missing spinlock and mutex initializations
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Feb 2018 07:36:06 +0000 (08:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 06:41:02 +0000 (22:41 -0800)
commite5e9a08e151f3e945c243a8e773de2f5059c16fc
treea6a08a17a314b8581cdeee9a4acb878fe1047767
parenta2102a155f3d70bccffef9a658ceb1aea583c2c4
ALSA: x86: Fix missing spinlock and mutex initializations

commit 350144069abf351c743d766b2fba9cb9b7cd32a1 upstream.

The commit change for supporting the multiple ports moved involved
some code shuffling, and there the initializations of spinlock and
mutex in snd_intelhad object were dropped mistakenly.

This patch adds the missing initializations again for each port.

Fixes: b4eb0d522fcb ("ALSA: x86: Split snd_intelhad into card and PCM specific structures")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/x86/intel_hdmi_audio.c