[PATCH 1/1] DSPBRIDGE Fix flush_workque

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From a8aabc6233329998d0ac62be42ade5a77f03ef2a Mon Sep 17 00:00:00 2001
From: Ramesh Gupta <x0023949@xxxxxx>
Date: Thu, 19 Mar 2009 09:56:30 +0530
Subject: [PATCH 1/1] DSPBRIDGE Fix flush_workque

Observed some crash with flush_workque after 
multiple load and unload.
Replaced flush_workque with destroy_workque

Signed-off-by: Varide Nischal <x0102224@xxxxxx>
---
 drivers/dsp/bridge/wmd/io_sm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c
index 0eb9893..ea802d0 100644
--- a/drivers/dsp/bridge/wmd/io_sm.c
+++ b/drivers/dsp/bridge/wmd/io_sm.c
@@ -391,7 +391,7 @@ DSP_STATUS WMD_IO_Destroy(struct IO_MGR *hIOMgr)
                       &hWmdContext)))
                                DBC_Assert(hWmdContext);
                (void)CHNLSM_DisableInterrupt(hWmdContext);
-               flush_workqueue(bridge_workqueue);
+               destroy_workqueue(bridge_workqueue);
                /* Linux function to uninstall ISR */
                free_irq(INT_MAIL_MPU_IRQ, (void *)hIOMgr);
                (void)DPC_Destroy(hIOMgr->hDPC);
-- 
1.5.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux