]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Fri, 7 Feb 2025 11:46:04 +0000 (13:46 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 10 Feb 2025 13:41:50 +0000 (13:41 +0000)
commitac84ca815adb4171a4276b1d44096b75f6a150b7
treea52f663739b39751fb057b239b5d54196ab24bda
parent2ecbc2e9f3b19e2199e8bc3ba603d299f1985f09
ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE

In some cases, e.g. during resuming from suspend, there is a possibility
that some IPC reply messages get received by the host while the DSP
firmware has not yet reached the complete boot state.

Detect when this happens and do not attempt to process the unexpected
replies from DSP.  Instead, provide proper debugging support.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20250207-sof-vangogh-fixes-v1-3-67824c1e4c9a@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp-ipc.c