From 5b5ed42720313bfd1c622fed710ee8b946a92a20 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Tue, 28 Feb 2023 19:23:56 +0200 Subject: [PATCH] Revert "hda: chain dma: cancel task before freeing it" This was not the correct fix for the ll timer free crash issue. Now that the correct fix[1] is found and merged, this workaround can be removed. [1] b3a808afa8c7 "chain-dma: fix scheduling exception" This reverts commit 60e9e97e0df842c3030c0772b02120c807f6721a. Signed-off-by: Jyri Sarha --- src/audio/chain_dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/audio/chain_dma.c b/src/audio/chain_dma.c index b8a3af22f..3bf277f84 100644 --- a/src/audio/chain_dma.c +++ b/src/audio/chain_dma.c @@ -339,7 +339,6 @@ static int chain_task_pause(struct comp_dev *dev) k_spin_unlock(&drivers->lock, key); - schedule_task_cancel(&cd->chain_task); schedule_task_free(&cd->chain_task); pm_policy_state_lock_put(PM_STATE_RUNTIME_IDLE, PM_ALL_SUBSTATES);