]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Extend i915 component bind timeout
authorTakashi Iwai <tiwai@suse.de>
Mon, 25 Feb 2019 15:49:27 +0000 (16:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Feb 2019 15:59:02 +0000 (16:59 +0100)
commit4985e1ba01bb23c4caef8aa7e14883544f5d1e44
tree61c7813f834bc1c3bf0632b5941ff2b7fdb392bf
parent8cef7fdae079a62ab1074d5dc9f882972b491e93
ALSA: hda: Extend i915 component bind timeout

I set 10 seconds for the timeout of the i915 audio component binding
with a hope that recent machines are fast enough to handle all probe
tasks in that period, but I was too optimistic.  The binding may take
longer than that, and this caused a problem on the machine with both
audio and graphics driver modules loaded in parallel, as Paul Menzel
experienced.  This problem haven't hit so often just because the KMS
driver is loaded in initrd on most machines.

As a simple workaround, extend the timeout to 60 seconds.

Fixes: 75c4f40d0741 ("ALSA: hda/i915: Allow delayed i915 audio component binding")
Reported-by: Paul Menzel <pmenzel+alsa-devel@molgen.mpg.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_i915.c