diff options
-rwxr-xr-x | wct4xxp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -875,7 +875,10 @@ static int t4_startup(struct zt_span *span) } if (!alreadyrunning) { + /* Never trust timing from something we're just starting. Let it settle first. */ + span->alarms |= ZT_ALARM_RECOVER; span->flags |= ZT_FLAG_RUNNING; + wc->alarmtimer[span->offset] = ZT_ALARMSETTLE_TIME; wc->spansstarted++; /* enable interrupts */ /* Start DMA, enabling DMA interrupts on read only */ |