NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/51734 (hdaudio errors on boot)



Please try the attached patch.

I believe it to be a codec issue.

Best regards,

Nat
Index: hdaudio.c
===================================================================
RCS file: /cvsroot/src/sys/dev/hdaudio/hdaudio.c,v
retrieving revision 1.5
diff -u -p -r1.5 hdaudio.c
--- hdaudio.c	4 Jun 2017 23:34:55 -0000	1.5
+++ hdaudio.c	10 Nov 2017 05:50:27 -0000
@@ -163,6 +163,8 @@ hdaudio_codec_probe(struct hdaudio_softc
 	for (codecid = 0; codecid < HDAUDIO_MAX_CODECS; codecid++)
 		if (statests & (1 << codecid))
 			sc->sc_codec[codecid].co_valid = true;
+		else
+			statests &= ~(1 << codecid);
 	hda_write2(sc, HDAUDIO_MMIO_STATESTS, statests);
 
 	return statests;


Home | Main Index | Thread Index | Old Index