NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/51734 (hdaudio errors on boot)
The following reply was made to PR kern/51734; it has been noted by GNATS.
From: Nathanial Sloss <nat%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
n54%gmx.com@localhost
Subject: Re: kern/51734 (hdaudio errors on boot)
Date: Fri, 10 Nov 2017 16:55:40 +1100
--Boundary-00=_c9TBaJpb8iO9LJl
Content-Type: Text/Plain;
charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Please try the attached patch.
I believe it to be a codec issue.
Best regards,
Nat
--Boundary-00=_c9TBaJpb8iO9LJl
Content-Type: text/x-patch;
charset="ISO-8859-1";
name="hdaudio-valid-only.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="hdaudio-valid-only.diff"
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;
--Boundary-00=_c9TBaJpb8iO9LJl--
Home |
Main Index |
Thread Index |
Old Index