Author: jmcneill
Date: Sun Oct  9 13:59:38 2016
New Revision: 306907
URL: https://svnweb.freebsd.org/changeset/base/306907

Log:
  MFC r306658: Clear GT_CTRL_ENABLE to stop the timer.

Modified:
  stable/11/sys/arm/arm/generic_timer.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/arm/arm/generic_timer.c
==============================================================================
--- stable/11/sys/arm/arm/generic_timer.c       Sun Oct  9 13:30:57 2016        
(r306906)
+++ stable/11/sys/arm/arm/generic_timer.c       Sun Oct  9 13:59:38 2016        
(r306907)
@@ -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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to