summaryrefslogtreecommitdiff
path: root/wct4xxp/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'wct4xxp/base.c')
-rw-r--r--wct4xxp/base.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index f9213df..b91239b 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2887,6 +2887,11 @@ ZAP_IRQ_HANDLER(t4_interrupt_gen2)
#else
t4_prep_gen2(wc);
#endif
+ t4_do_counters(wc);
+ spin_lock(&wc->reglock);
+ __handle_leds(wc);
+ spin_unlock(&wc->reglock);
+
}
if (unlikely(status & 0x1)) {
@@ -2917,12 +2922,8 @@ ZAP_IRQ_HANDLER(t4_interrupt_gen2)
}
}
- t4_do_counters(wc);
-
spin_lock(&wc->reglock);
- __handle_leds(wc);
-
if (unlikely(wc->checktiming > 0)) {
__t4_set_timing_source_auto(wc);
}