From 8388e2bdcd8fae385465b938ad43ee772219815c Mon Sep 17 00:00:00 2001 From: Damian Nikodem Date: Tue, 11 Jun 2024 16:45:25 +0200 Subject: [PATCH] src: copier: update virtual index value for ssp Virtual index value for I2S on PTL contains two information: - time slot group index : 4 - i2s instance : 4 In order to correctly configure the dai api, both of the above values should be retained. Signed-off-by: Damian Nikodem --- src/audio/dai-zephyr.c | 2 ++ west.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/audio/dai-zephyr.c b/src/audio/dai-zephyr.c index 872a1ee9bd61..8add5f24216a 100644 --- a/src/audio/dai-zephyr.c +++ b/src/audio/dai-zephyr.c @@ -154,6 +154,8 @@ int dai_set_config(struct dai *dai, struct ipc_config_dai *common_config, cfg_params = is_blob ? spec_config : &sof_cfg->ssp; dai_set_link_hda_config(&cfg.link_config, common_config, cfg_params); + /* Store tdm slot group index*/ + cfg.tdm_slot_group = common_config->dai_index & 0xF; break; case SOF_DAI_INTEL_ALH: cfg.type = is_blob ? DAI_INTEL_ALH_NHLT : DAI_INTEL_ALH; diff --git a/west.yml b/west.yml index 8bebf78c3e6c..a4d4f81159cf 100644 --- a/west.yml +++ b/west.yml @@ -43,7 +43,7 @@ manifest: - name: zephyr repo-path: zephyr - revision: 0a3f2f0397a86425cc7d12fa3a0c0ab8020d80e1 + revision: pull/74030/head remote: zephyrproject # Import some projects listed in zephyr/west.yml@revision