diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-04-07 20:18:20 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-04-07 20:18:20 +0000 |
commit | 958d6d5d2cab56226109c395dc79245eaa71fe8e (patch) | |
tree | fed3b71ca91a605274aca517f4661be836a8d7fc /wct4xxp.c | |
parent | 5ed80a1de180361db06accab70072e41e7ebd71a (diff) |
Set timing in only one place
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@346 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-x | wct4xxp.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -504,7 +504,7 @@ static int t4_spanconfig(struct zt_span *span, struct zt_lineconfig *lc) /* If we're already running, then go ahead and apply the changes */ if (span->flags & ZT_FLAG_RUNNING) return t4_startup(span); - t4_set_timing_source_auto(wc); + wc->checktiming = 1; return 0; } @@ -874,7 +874,7 @@ static int t4_startup(struct zt_span *span) if (wc->syncs[1] == span->spanno) printk("SPAN %d: Secondary Sync Source\n",span->spanno); if (wc->syncs[2] == span->spanno) printk("SPAN %d: Tertiary Sync Source\n",span->spanno); if (wc->syncs[3] == span->spanno) printk("SPAN %d: Quaternary Sync Source\n",span->spanno); - t4_set_timing_source_auto(wc); + wc->checktiming = 1; return 0; } @@ -1557,11 +1557,7 @@ static int __devinit t4_launch(struct t4 *wc) zt_unregister(&wc->spans[2]); return -1; } - if (debug) - printk("Setting timing source\n"); - t4_set_timing_source_auto(wc); - if (debug) - printk("Timing source selected\n"); + wc->checktiming = 1; #ifdef ENABLE_TASKLETS tasklet_init(&wc->t4_tlet, t4_tasklet, (unsigned long)wc); #endif |