From 1e8c9fb79733d88970ff9d74b627fb39faf705b6 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 12 Dec 2011 18:28:49 +0000 Subject: [PATCH] wctdm24xxp: Do not call voicebus_release() before wctdm_back_out_gracefully() voicebus_release is already called as part of the wctdm_back_out_gracefully() call. If an Hx8 card fails to initialize, this will eliminate warnings from the kernel such as: WARNING: at kernel/irq/manage.c:904 __free_irq+0x94/0x173() Trying to free already-free IRQ 18 Signed-off-by: Shaun Ruffell Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10377 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.5@10378 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wctdm24xxp/base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 0bc5730..70226fa 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -5411,7 +5411,6 @@ __wctdm_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) if (is_hx8(wc)) { ret = hx8_check_firmware(wc); if (ret) { - voicebus_release(&wc->vb); wctdm_back_out_gracefully(wc); return -EIO; }