psm(4): Reduce psm watchdog verbosity
Modern touchpads do not issue interrupts on inactivity so "lost interrupt" message became annoying spam nowadays. This change quiets the message if debug.psm.loglevel=5 (or less) is set in /boot/loader.conf Approved by: gonzo
This commit is contained in:
parent
9de4d0b11e
commit
f451e00544
@ -2878,7 +2878,7 @@ psmtimeout(void *arg)
|
||||
sc = (struct psm_softc *)arg;
|
||||
s = spltty();
|
||||
if (sc->watchdog && kbdc_lock(sc->kbdc, TRUE)) {
|
||||
VLOG(4, (LOG_DEBUG, "psm%d: lost interrupt?\n", sc->unit));
|
||||
VLOG(6, (LOG_DEBUG, "psm%d: lost interrupt?\n", sc->unit));
|
||||
psmintr(sc);
|
||||
kbdc_lock(sc->kbdc, FALSE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user