Author: jmcneill
Date: Mon Oct 3 21:42:05 2016
New Revision: 306658
URL: https://svnweb.freebsd.org/changeset/base/306658
Log:
Clear GT_CTRL_ENABLE to stop the timer.
Reviewed by: andrew
Modified:
head/sys/arm/arm/generic_timer.c
Modified: head/sys/arm/arm/generic_timer.c
==============================================================================
--- head/sys/arm/arm/generic_timer.c Mon Oct 3 20:48:18 2016
(r306657)
+++ head/sys/arm/arm/generic_timer.c Mon Oct 3 21:42:05 2016
(r306658)
@@ -259,7 +259,7 @@ arm_tmr_stop(struct eventtimer *et)
sc = (struct arm_tmr_softc *)et->et_priv;
ctrl = get_ctrl(sc->physical);
- ctrl &= GT_CTRL_ENABLE;
+ ctrl &= ~GT_CTRL_ENABLE;
set_ctrl(ctrl, sc->physical);
return (0);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"