|
@@ -243,8 +243,6 @@ static void cpts_overflow_check(struct work_struct *work)
|
|
|
struct timespec64 ts;
|
|
|
struct cpts *cpts = container_of(work, struct cpts, overflow_work.work);
|
|
|
|
|
|
- cpts_write32(cpts, CPTS_EN, control);
|
|
|
- cpts_write32(cpts, TS_PEND_EN, int_enable);
|
|
|
cpts_ptp_gettime(&cpts->info, &ts);
|
|
|
pr_debug("cpts overflow check at %lld.%09lu\n", ts.tv_sec, ts.tv_nsec);
|
|
|
schedule_delayed_work(&cpts->overflow_work, CPTS_OVERFLOW_PERIOD);
|