]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - hdmi defer to register acomp eld notifier
authorLibin Yang <libin.yang@linux.intel.com>
Fri, 4 Mar 2016 06:33:43 +0000 (14:33 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Mar 2016 07:40:24 +0000 (08:40 +0100)
commitac2943a24e8bb512960ae814e3ba4a00559c03af
tree31eae524fe8e36df55b07c844a4c2e21b0d312b3
parent6605b557097022e725452f8b3279cc2896505096
ALSA: hda - hdmi defer to register acomp eld notifier

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: Libin Yang <libin.yang@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c