Author: kib
Date: Sat Mar 28 16:26:47 2020
New Revision: 359396
URL: https://svnweb.freebsd.org/changeset/base/359396
Log:
hdaa: remove verbosity from the normal driver operations.
If hdaa is used in polling mode, it logs each change to the poll
interval under bootverbose, which makes it unusable (slow). These
messages are arguably useless or are a debugging leftovers at best.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
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 Sat Mar 28 15:35:47 2020
(r359395)
+++ head/sys/dev/sound/pci/hda/hdac.c Sat Mar 28 16:26:47 2020
(r359396)
@@ -1413,21 +1413,11 @@ hdac_poll_reinit(struct hdac_softc *sc)
pollticks >>= 1;
if (pollticks > hz)
pollticks = hz;
- if (pollticks < 1) {
- HDA_BOOTVERBOSE(
- device_printf(sc->dev,
- "poll interval < 1 tick !\n");
- );
+ if (pollticks < 1)
pollticks = 1;
- }
if (min > pollticks)
min = pollticks;
}
- HDA_BOOTVERBOSE(
- device_printf(sc->dev,
- "poll interval %d -> %d ticks\n",
- sc->poll_ival, min);
- );
sc->poll_ival = min;
if (min == 1000000)
callout_stop(&sc->poll_callout);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"