Skip to content

Commit b3a808a

Browse files
committed
chain-dma: fix scheduling exception
Task state shouldn't be modified by client code, it is fully managed by the scheduler. Setting task status to INIT after scheduling a task is wrong and for chain DMA it leads to a scheduler exception. Simply remove the offending line. BugLink: thesofproject#7084 Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent b490e89 commit b3a808a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/audio/chain_dma.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ static int chain_task_start(struct comp_dev *dev)
303303
}
304304

305305
pm_policy_state_lock_get(PM_STATE_RUNTIME_IDLE, PM_ALL_SUBSTATES);
306-
cd->chain_task.state = SOF_TASK_STATE_INIT;
307306
k_spin_unlock(&drivers->lock, key);
308307

309308
return 0;

0 commit comments

Comments
 (0)