ALSA: hda - Bind with i915 component before codec binding
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Jun 2017 10:54:53 +0000 (12:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jun 2017 14:18:43 +0000 (16:18 +0200)
commitfcc88d91cd36d1343a0ccc09444b21f6b0dad2d8
tree741d1177e839ad5399c27ef9998697272e53ce3f
parent17890880bbf7bac8171054c7dca7a5162b23c5c2
ALSA: hda - Bind with i915 component before codec binding

We used a on-demand i915 component binding for IvyBridge and
SandyBridge HDMI codecs, but it has a potential problem of the nested
module loading.  For avoiding that situation, assure the i915 binding
happening at the controller driver level for PCH controller devices,
where the initialization is performed in a detached work, instead of
calling from the codec driver probe.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_hdmi.c