diff options
author | Alexander Motin <mav@FreeBSD.org> | 2022-01-08 02:30:12 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2022-01-23 19:57:35 +0000 |
commit | 0dc8e3fe6fd1e6a79a840dd3b518e088076f7cda (patch) | |
tree | b8a1437f7b95332b7bf97c4bdbc8a3e8b5c7b5d7 /sys/dev/mpr | |
parent | 7ff278267bcec4f9b41716f8d039f349c96f4f74 (diff) |
mps/mpr: Relax doorbell polling precision.
It does not matter how often do we check firmware for crashes.
MFC after: 2 weeks
(cherry picked from commit 1849bc5f3ff04c128e85173aa84472a19b784e64)
Diffstat (limited to 'sys/dev/mpr')
-rw-r--r-- | sys/dev/mpr/mpr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mpr/mpr.c b/sys/dev/mpr/mpr.c index 3de4b1050fa7..0f4c5c906216 100644 --- a/sys/dev/mpr/mpr.c +++ b/sys/dev/mpr/mpr.c @@ -2250,7 +2250,8 @@ mpr_periodic(void *arg) mpr_reinit(sc); } - callout_reset(&sc->periodic, MPR_PERIODIC_DELAY * hz, mpr_periodic, sc); + callout_reset_sbt(&sc->periodic, MPR_PERIODIC_DELAY * SBT_1S, 0, + mpr_periodic, sc, C_PREL(1)); } static void |