[PATCH] ASoC: SOF: imx8: add core shutdown operation for imx8/imx8x
Daniel Baluta
daniel.baluta at gmail.com
Mon Jun 16 00:33:13 PDT 2025
On Fri, Jun 13, 2025 at 10:43 PM Laurentiu Mihalcea
<laurentiumihalcea111 at gmail.com> wrote:
>
> From: Laurentiu Mihalcea <laurentiu.mihalcea at nxp.com>
>
> Currently, the DSP core from i.MX8QM/i.MX8QXP is able to operate while the
> firmware image is being loaded. Because of this, the DSP may change the
> content of the firmware data just after it was loaded, thus leading to the
> data having unexpected values when the DSP is reset (via run()).
>
> Fix this by implementing the core_shutdown() operation that will put the
> DSP in stall during suspend(). The stall will be removed during the run()
> opertion, thus guaranteeing that the DSP core will not be able to run
> while the firmware image is being loaded.
>
> Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea at nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>
More information about the linux-arm-kernel
mailing list