2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/sound/x86
Takashi Iwai c77a6edb6d ALSA: x86: Fix potential crash at error path
When LPE audio driver gets some error at probing, it may lead to a
crash because of canceling the pending work in hdmi_lpe_audio_free(),
since some of ports might be still not initialized.

For assuring the proper free of each port, initialize all ports at the
beginning of the probe.

Fixes: b4eb0d522f ("ALSA: x86: Split snd_intelhad into card and PCM specific structures")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-02-28 08:46:00 +01:00
..
intel_hdmi_audio.c ALSA: x86: Fix potential crash at error path 2018-02-28 08:46:00 +01:00
intel_hdmi_audio.h ALSA: x86: Register multiple PCM devices for the LPE audio card 2017-05-03 16:24:00 +03:00
intel_hdmi_lpe_audio.h ALSA: x86: Allow single period PCM operation 2017-02-10 10:21:42 +01:00
Kconfig ALSA: x86: Make CONFIG_SND_X86 bool 2017-03-21 13:26:02 +01:00
Makefile ALSA: x86: Fold intel_hdmi_audio_if.c into main file 2017-02-03 17:31:54 +01:00