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: b4eb0d522fcb ("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
..
2017-09-04 14:50:49 +02:00
2017-11-13 15:45:57 +01:00
2018-02-07 12:11:09 -08:00
2017-11-13 15:45:57 +01:00
2015-08-31 16:25:22 +02:00
2017-11-13 15:45:57 +01:00
2017-11-13 15:45:57 +01:00