summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/base.c
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
commit0903748420aa0d560485d8a8fd2aa3ce8900628b (patch)
tree5d7ad3cb5fa4699d9856f2007ed217c4763fb7d4 /drivers/dahdi/wcte12xp/base.c
parenta0e532fc44b63d9996b16ca7329d9a98e04e3362 (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/base.c')
-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;