wcte11xp, wcte12xp: Fix a long-standing issue with shutdown

Upon shutdown, both drivers would attempt to power down external
interfaces, but never attempted to bring them back up when the span was
restarted.  Removing that code allows the driver to work properly until
a better solution can be found.

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9316 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Kinsey Moore
2010-09-10 15:54:35 +00:00
parent c6eb178da3
commit 973d576ad8
2 changed files with 0 additions and 2 deletions

View File

@@ -918,7 +918,6 @@ static int t1xxp_shutdown(struct dahdi_span *span)
unsigned long flags;
spin_lock_irqsave(&wc->lock, flags);
__t1_framer_out(wc, 0x46, 0x41); /* GCR: Interrupt on Activation/Deactivation of AIX, LOS */
__t1xxp_stop_dma(wc);
__t1xxp_disable_interrupts(wc);
span->flags &= ~DAHDI_FLAG_RUNNING;

View File

@@ -984,7 +984,6 @@ static int t1xxp_startup(struct dahdi_span *span)
static int t1xxp_shutdown(struct dahdi_span *span)
{
struct t1 *wc = container_of(span, struct t1, span);
t1_setreg(wc, 0x46, 0x41); /* GCR: Interrupt on Activation/Deactivation of AIX, LOS */
clear_bit(DAHDI_FLAGBIT_RUNNING, &span->flags);
return 0;
}