]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Fix missing spinlock and mutex initializations
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Feb 2018 07:36:06 +0000 (08:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Feb 2018 07:40:26 +0000 (08:40 +0100)
commitdd53f063e50f912cc7d9a46126b6d37c0a8ed002
tree55abb4a7f5d803c0dba38ab1212531922ba450cd
parent9648bbda8f99bd323fc58739ded38556a5c7a57c
ALSA: x86: Fix missing spinlock and mutex initializations

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: ddfd7aa7a9c4 ("ALSA: x86: Split snd_intelhad into card and PCM specific structures")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c