commit | c77a6edb6d4d35204673cad7389c317bfb17492e | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Feb 28 08:46:00 2018 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Feb 28 08:46:00 2018 +0100 |
tree | 81f571d7a1c951c58014d3981cc8250c911a256c | |
parent | 350144069abf351c743d766b2fba9cb9b7cd32a1 [diff] |
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: b4eb0d522fcb ("ALSA: x86: Split snd_intelhad into card and PCM specific structures") Signed-off-by: Takashi Iwai <tiwai@suse.de>