From b06fba8bddc6aea43e2c39f9e108d0a398a65979 Mon Sep 17 00:00:00 2001 From: Rander Wang Date: Wed, 18 Oct 2023 11:00:32 +0800 Subject: [PATCH] ASoC: SOF: save fw_ready flag Kernel uses fw_ready flag to get fw boot config. Signed-off-by: Rander Wang --- sound/soc/sof/ipc4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/sof/ipc4.c b/sound/soc/sof/ipc4.c index 8441f4ae406568..5f2ad0f17e23e5 100644 --- a/sound/soc/sof/ipc4.c +++ b/sound/soc/sof/ipc4.c @@ -599,6 +599,8 @@ static int ipc4_fw_ready(struct snd_sof_dev *sdev, struct sof_ipc4_msg *ipc4_msg sdev->debug_box.offset = snd_sof_dsp_get_window_offset(sdev, SOF_IPC4_DEBUG_WINDOW_IDX); + sdev->fw_ready.flags = ipc4_msg->extension; + sof_ipc4_create_exception_debugfs_node(sdev); dev_dbg(sdev->dev, "mailbox upstream 0x%x - size 0x%x\n",