• Libin Yang's avatar
    ALSA: hda - hdmi defer to register acomp eld notifier · 790b415c
    Libin Yang authored
    Defer to register acomp eld notifier until hdmi audio driver
    is fully ready.
    
    After registering eld notifier, gfx driver can use this
    callback function to notify audio driver the monitor
    connection event. However this action may happen when
    audio driver is adding the pins or doing other initialization.
    This is not always safe, however. For example, using
    per_pin->lock before the lock is initialized.
    
    Let's register the eld notifier after the initialization is done.
    Signed-off-by: default avatarLibin Yang <libin.yang@linux.intel.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    790b415c
patch_hdmi.c 102 KB