• Samuel Thibault's avatar
    ALSA: hda: Fix 1-minute detection delay when i915 module is not available · 74bf71ed
    Samuel Thibault authored
    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: f9b54e19 ("ALSA: hda/i915: Allow delayed i915 audio component binding")
    Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    74bf71ed
Name
Last commit
Last update
..
ext Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
array.c Loading commit data...
hda_bus_type.c Loading commit data...
hdac_bus.c Loading commit data...
hdac_component.c Loading commit data...
hdac_controller.c Loading commit data...
hdac_device.c Loading commit data...
hdac_i915.c Loading commit data...
hdac_regmap.c Loading commit data...
hdac_stream.c Loading commit data...
hdac_sysfs.c Loading commit data...
hdmi_chmap.c Loading commit data...
local.h Loading commit data...
trace.c Loading commit data...
trace.h Loading commit data...