From 009bd16d8fc536f682f33627942719ab6dcb95d1 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 6 Apr 2010 22:36:09 +0000 Subject: wcte12xp: Make sure the interrupt is stopped before freeing the vpmadt032 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8487 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wcte12xp/base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index af7324d..02019a8 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -2185,6 +2185,8 @@ static void __devexit te12xp_remove_one(struct pci_dev *pdev) #endif del_timer_sync(&wc->timer); + voicebus_release(&wc->vb); + #ifdef VPM_SUPPORT if(vpm) { wc->vpmadt032 = NULL; @@ -2194,7 +2196,6 @@ static void __devexit te12xp_remove_one(struct pci_dev *pdev) } #endif - voicebus_release(&wc->vb); t1_release(wc); } -- cgit v1.2.3