From: Mark Brown Date: Fri, 24 Nov 2023 16:12:06 +0000 (+0000) Subject: ASoC: SOF: Extend the enabled DSP core handling X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1805a6d269bea9a8c8a60b6a36eb48ec91ccd3cf;p=linux.git ASoC: SOF: Extend the enabled DSP core handling Merge series from Peter Ujfalusi : In the current code, we enable a widget core when it is set up and disable it when it is freed. This is problematic with IPC4 because widget free is essentially a NOP and all widgets are freed in the firmware when the pipeline is deleted. This results in a crash during pipeline deletion when one of it's widgets is scheduled to run on a secondary core and is powered off when widget is freed. So, change the logic to enable all cores needed by all the modules in a pipeline when the pipeline widget is set up and disable them after the pipeline widget is freed. --- 1805a6d269bea9a8c8a60b6a36eb48ec91ccd3cf