Last active
December 21, 2022 12:07
-
-
Save Riesi/e92f91bc46c43ea38f64087aaa8457ea to your computer and use it in GitHub Desktop.
removes the timeout for waiting on the i915 driver; fixes delayed loading of the realtek audio device, due to i915 being broken when doing gpu passthrough of the iGPU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sound/hda/hdac_i915.c b/sound/hda/hdac_i915.c | |
index 3c2db3816029..ad1b38020231 100644 | |
--- a/sound/hda/hdac_i915.c | |
+++ b/sound/hda/hdac_i915.c | |
@@ -135,14 +135,6 @@ int snd_hdac_i915_init(struct hdac_bus *bus) | |
acomp = bus->audio_component; | |
if (!acomp) | |
return -ENODEV; | |
- if (!acomp->ops) { | |
- if (!IS_ENABLED(CONFIG_MODULES) || | |
- !request_module("i915")) { | |
- /* 60s timeout */ | |
- wait_for_completion_timeout(&bind_complete, | |
- msecs_to_jiffies(60 * 1000)); | |
- } | |
- } | |
if (!acomp->ops) { | |
dev_info(bus->dev, "couldn't bind with audio component\n"); | |
snd_hdac_acomp_exit(bus); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment