summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-05-27 15:23:57 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:45:21 +0900
commit4428a4fd61efe95fae950e3effe8625cac84873e (patch)
tree99d80f81bde625bb73da4df580fc5f4684c40067 /sound
parent475f73050e10e31ebc352f21d7a5a449e7ea01ef (diff)
ASoC: ymu831: Fix workqueues double destroy
Do not destroy the mb4 and mkdeten workqueues on IRQ termination. IRQ termination routine is called during: 1. driver removal - the workqueues are destroyed by removal function; 2. driver suspend - the workqueues are not allocated during resume. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ymu831/ymu831.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/ymu831/ymu831.c b/sound/soc/codecs/ymu831/ymu831.c
index b1de40e13173..554ab125e05a 100644
--- a/sound/soc/codecs/ymu831/ymu831.c
+++ b/sound/soc/codecs/ymu831/ymu831.c
@@ -8543,10 +8543,6 @@ static int term_irq(void)
free_irq(mc_asoc->pdata->irq, NULL);
destroy_workqueue(my_wq);
- if (workq_mb4)
- destroy_workqueue(workq_mb4);
- if (workq_mkdeten)
- destroy_workqueue(workq_mkdeten);
return 0;
}