ALSA: hda/i915: Allow delayed i915 audio component binding
authorTakashi Iwai <tiwai@suse.de>
Wed, 11 Jul 2018 13:05:06 +0000 (15:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Jul 2018 10:32:44 +0000 (12:32 +0200)
commitf9b54e1961c7052e7d7817d707826eb2b9a1ca09
treee2e2b9291737039322a6f899f146419990ff6d5e
parent1ea0358ecb848058b35b6da13d7f4c08610a73a8
ALSA: hda/i915: Allow delayed i915 audio component binding

Currently HD-audio i915 audio binding doesn't support any delayed
binding, and supposes that the i915 driver registers the component
immediately.  This has been OK, so far, but the work-in-progress
change in i915 may introduce the asynchronous binding, which
effectively delays the component registration.

For addressing it, implement a completion to be synced with the master
binding.  The timeout is set to 10 seconds which should be long enough
and hopefully be not too annoying if anyone boots up a debugging
session with i915 KMS turned off.

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