svn commit: r359777 - head/sys/dev/sound/pci/hda

Ed Maste emaste at FreeBSD.org
Fri Apr 10 18:38:42 UTC 2020


Author: emaste
Date: Fri Apr 10 18:38:42 2020
New Revision: 359777
URL: https://svnweb.freebsd.org/changeset/base/359777

Log:
  hdac: show which command timed out
  
  There are several reports of "hdac0: Command timeout on address 2"
  messages emitted during playback on a variety of contemporary machines.
  Show the command that timed out in case it might provide a clue in
  finding the cause.
  
  PR:		229190
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/sound/pci/hda/hdac.c

Modified: head/sys/dev/sound/pci/hda/hdac.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.c	Fri Apr 10 18:13:29 2020	(r359776)
+++ head/sys/dev/sound/pci/hda/hdac.c	Fri Apr 10 18:38:42 2020	(r359777)
@@ -999,7 +999,8 @@ hdac_send_command(struct hdac_softc *sc, nid_t cad, ui
 	} while (sc->codecs[cad].pending != 0 && --timeout);
 
 	if (sc->codecs[cad].pending != 0) {
-		device_printf(sc->dev, "Command timeout on address %d\n", cad);
+		device_printf(sc->dev, "Command 0x%08x timeout on address %d\n",
+		    verb, cad);
 		sc->codecs[cad].pending = 0;
 	}
 


More information about the svn-src-head mailing list