Clear GT_CTRL_ENABLE to stop the timer.
Reviewed by: andrew
This commit is contained in:
parent
7a6e3cf83e
commit
1ef15cafa0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user