kernel-fxtec-pro1x/sound
Samuel Thibault 72651bbdf3 ALSA: hda: Fix 1-minute detection delay when i915 module is not available
commit 74bf71ed792ab0f64631cc65ccdb54c356c36d45 upstream.

Distribution installation images such as Debian include different sets
of modules which can be downloaded dynamically.  Such images may notably
include the hda sound modules but not the i915 DRM module, even if the
latter was enabled at build time, as reported on
https://bugs.debian.org/931507

In such a case hdac_i915 would be linked in and try to load the i915
module, fail since it is not there, but still wait for a whole minute
before giving up binding with it.

This fixes such as case by only waiting for the binding if the module
was properly loaded (or module support is disabled, in which case i915
is already compiled-in anyway).

Fixes: f9b54e1961 ("ALSA: hda/i915: Allow delayed i915 audio component binding")
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-06 19:06:54 +02:00
..
ac97 ALSA: ac97: Fix double free of ac97_codec_device 2019-07-31 07:27:11 +02:00
aoa
arm
atmel
core ALSA: seq: Break too long mutex context in the write loop 2019-07-26 09:14:23 +02:00
drivers
firewire ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages 2019-07-10 09:53:42 +02:00
hda ALSA: hda: Fix 1-minute detection delay when i915 module is not available 2019-08-06 19:06:54 +02:00
i2c
isa
mips
oss
parisc
pci ALSA: hda - Add a conexant codec entry to let mute led work 2019-07-31 07:27:11 +02:00
pcmcia
ppc
sh
soc ASoC: dapm: Adapt for debugfs API change 2019-07-26 09:14:23 +02:00
sparc
spi
synth
usb ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1 2019-07-31 07:27:11 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c