summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-02-24 19:13:05 +0000
committerShaun Ruffell <sruffell@digium.com>2010-02-24 19:13:05 +0000
commit8f0eca6eb9fb77fba9943b48d09a43e30a01cb6e (patch)
tree5d7ad3cb5fa4699d9856f2007ed217c4763fb7d4 /drivers/dahdi/wcte12xp
parente940446337e727dfbc6fd6d82feeb7062fbb63ca (diff)
wctdm24xxp, wcte12xp: Abort attach if interface fails to come out of reset.
If the reset bit never clears, then just assume we cannot talk to the board and error on the attach. DAHDI-515. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8080 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r--drivers/dahdi/wcte12xp/base.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index dfba2dd..9f6352f 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -1846,7 +1846,6 @@ static int __devinit te12xp_init_one(struct pci_dev *pdev, const struct pci_devi
wc->vb.debug = &debug;
res = voicebus_init(&wc->vb, wc->name);
if (res) {
- WARN_ON(1);
free_wc(wc);
ifaces[index] = NULL;
return res;