Clear GT_CTRL_ENABLE to stop the timer.

Reviewed by:	andrew
This commit is contained in:
Jared McNeill 2016-10-03 21:42:05 +00:00
parent 7a6e3cf83e
commit 1ef15cafa0

View File

@ -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);