From 550c778c599b562b5129834f86821f5dcf1a5400 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 - 1 file changed, 1 deletion(-) 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;