]> code.delx.au - pulseaudio/commit
alsa: skip eld initialization if hctl_handle is NULL
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 2 Apr 2013 09:27:38 +0000 (11:27 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 2 Apr 2013 15:55:53 +0000 (18:55 +0300)
commit77347e1e9100fd2062c28269497645decd9457bc
tree128e45d39238cf1bdc2a5ab7ffcec1ea0ee1a596
parenta3f5eeadc87871ef52d84b490cb87227ecf14a9e
alsa: skip eld initialization if hctl_handle is NULL

Due to a misconfiguration on my side my hdmi card didn't load with
snd-hda-codec-hdmi but through the fallback mechanism. Pulseaudio
would crash during early because hctl_handle was null, so skip
init_eld_ctls when hctl_handle is null to prevent a crash.

Thanks to David Henningsson for helping me find the underlying issue.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
src/modules/alsa/module-alsa-card.c