aboutsummaryrefslogtreecommitdiff
path: root/driver/gator_events_armv7.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/gator_events_armv7.c')
-rw-r--r--driver/gator_events_armv7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/gator_events_armv7.c b/driver/gator_events_armv7.c
index 58855f8..e1434e2 100644
--- a/driver/gator_events_armv7.c
+++ b/driver/gator_events_armv7.c
@@ -204,6 +204,7 @@ static void gator_events_armv7_online(void)
static void gator_events_armv7_offline(void)
{
+ // disbale all counters, including PMCCNTR; overflow IRQs will not be signaled
armv7_pmnc_write(armv7_pmnc_read() & ~PMNC_E);
}