From afbbca6a77b067bf612f593f084f0e54656565ec Mon Sep 17 00:00:00 2001 From: Walter Yang Date: Tue, 8 Dec 2015 17:59:04 +0800 Subject: ASoC: wcd_cpe_services: delete the redundant worker thread Currently worker thread in cpe service is created twice. The second thread handler overwrites the first one. The first thread is not freed when the service is cleaned up. The fix prevents creation of the redundant thread. CRs-Fixed: 949165 Change-Id: Idd76b76d4f7f25d2592ca7c336dbee77b6efc7eb Signed-off-by: Walter Yang --- sound/soc/codecs/wcd_cpe_services.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/wcd_cpe_services.c b/sound/soc/codecs/wcd_cpe_services.c index 573a5b1c7515..f100bf19ad92 100644 --- a/sound/soc/codecs/wcd_cpe_services.c +++ b/sound/soc/codecs/wcd_cpe_services.c @@ -1121,7 +1121,6 @@ static enum cpe_process_result cpe_boot_complete( } pr_debug("%s: boot complete\n", __func__); - cpe_create_worker_thread(t_info); return CPE_SVC_SUCCESS; } -- cgit v1.2.3