From 3f97222f370c539833e013df537b08d9338b6b97 Mon Sep 17 00:00:00 2001 From: Damian Nikodem Date: Mon, 25 Mar 2024 09:54:40 +0100 Subject: [PATCH] audio: copier: use v_index for DAI index in I2S link creation This commit updates the copier DAI creation logic for I2S links to use the `v_index` field from the `node_id` structure as the DAI index. This change ensures that the correct DAI index is used when creating I2S links, aligning with the new SSP link management mechanism. Signed-off-by: Damian Nikodem --- src/audio/copier/copier_dai.c | 1 - west.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/audio/copier/copier_dai.c b/src/audio/copier/copier_dai.c index 0fb7c58eb40a..74c6d62a4d6b 100644 --- a/src/audio/copier/copier_dai.c +++ b/src/audio/copier/copier_dai.c @@ -259,7 +259,6 @@ int copier_dai_create(struct comp_dev *dev, struct copier_data *cd, break; case ipc4_i2s_link_output_class: case ipc4_i2s_link_input_class: - dai_index[dai_count - 1] = (dai_index[dai_count - 1] >> 4) & 0xF; dai.type = SOF_DAI_INTEL_SSP; dai.is_config_blob = true; type = ipc4_gtw_ssp; diff --git a/west.yml b/west.yml index 60b62594ec0b..ab523cea6a8a 100644 --- a/west.yml +++ b/west.yml @@ -43,7 +43,7 @@ manifest: - name: zephyr repo-path: zephyr - revision: 2ccf775396c225f4398db1014886397a91f6d42f + revision: pull/70660/head remote: zephyrproject # Import some projects listed in zephyr/west.yml@revision