• Takashi Iwai's avatar
    ALSA: x86: Fix potential crash at error path · c77a6edb
    Takashi Iwai authored
    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: b4eb0d52 ("ALSA: x86: Split snd_intelhad into card and PCM specific structures")
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Last commit
Last update
Kconfig Loading commit data...
Makefile Loading commit data...
intel_hdmi_audio.c Loading commit data...
intel_hdmi_audio.h Loading commit data...
intel_hdmi_lpe_audio.h Loading commit data...