[PATCH] sound/pci/hda: Always defer in azx_probe

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Nov 14 14:34:51 UTC 2023


Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
 sound/pci/hda/hda_intel.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 058f6e6491f9a..946aaa487f200 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2145,7 +2145,8 @@ static int azx_probe(struct pci_dev *pci,
 			 * for other chips, still continue probing as other
 			 * codecs can be on the same link.
 			 */
-			if (HDA_CONTROLLER_IN_GPU(pci)) {
+			if (HDA_CONTROLLER_IN_GPU(pci) ||
+			    err == -EPROBE_DEFER) {
 				goto out_free;
 			} else {
 				/* don't bother any longer */
-- 
2.39.2



More information about the Intel-gfx-trybot mailing list