From b43c7f02a0166b38cd4e53fc6c4ee39a6ae9d4b0 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 12 Dec 2011 18:18:14 +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 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10377 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 6d1f1c1..73398d7 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -5738,7 +5738,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; }