wcte13xp: Hold framer in reset to stop xmit on modprobe -r

From: Russ Meyerriecks <rmeyerriecks@digium.com>

The framer appears to continue transmitting a signal after modprobe -r. This
patch will leave the physical framer reset pin asserted to force the chip to
stop transmitting a signal when there is no driver attached.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
Russ Meyerriecks
2013-10-25 15:13:33 -05:00
committed by Shaun Ruffell
parent e42548f2c5
commit 4707e19654

View File

@@ -2719,6 +2719,9 @@ static void __devexit te13xp_remove_one(struct pci_dev *pdev)
/* Quiesce DMA engine interrupts */
wcxb_stop(&wc->xb);
/* Leave framer in reset so it no longer transmits */
wcxb_gpio_clear(&wc->xb, FALC_CPU_RESET);
del_timer_sync(&wc->timer);
flush_workqueue(wc->wq);
del_timer_sync(&wc->timer);