From ee3af44d7e6e4087c541ecf399f87c9dcbdf6be6 Mon Sep 17 00:00:00 2001 From: Wojciech Jablonski Date: Wed, 19 Nov 2025 10:37:45 +0100 Subject: [PATCH] zephyr: Set config for resumed DAIs After exit from D3 reset NHLT DMIC driver is unable to resume its operation due to lack of configuration. This change adds the missing steps for all types of active DAIs. Signed-off-by: Wojciech Jablonski --- zephyr/lib/cpu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zephyr/lib/cpu.c b/zephyr/lib/cpu.c index e1ffb3598816..1f242893ebba 100644 --- a/zephyr/lib/cpu.c +++ b/zephyr/lib/cpu.c @@ -120,7 +120,11 @@ static void resume_dais(void) cd = module_get_private_data(mod); dd = cd->dd[0]; if (dai_probe(dd->dai->dev) < 0) { - tr_err(&zephyr_tr, "DAI resume failed, type %d index %d", + tr_err(&zephyr_tr, "DAI resume failed on probe, type %d index %d", + dd->dai->type, dd->dai->index); + } else if (dai_set_config(dd->dai, &dd->ipc_config, cd->gtw_cfg, + cd->config.gtw_cfg.config_length) < 0) { + tr_err(&zephyr_tr, "DAI resume failed on config, type %d index %d", dd->dai->type, dd->dai->index); }