Skip to content

Commit

Permalink
audio: copier: use v_index for DAI index in I2S link creation
Browse files Browse the repository at this point in the history
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 <damian.nikodem@intel.com>
  • Loading branch information
dnikodem committed Apr 22, 2024
1 parent 58f141c commit 7ee1cda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/audio/copier/copier_dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ manifest:

- name: zephyr
repo-path: zephyr
revision: 3614d4cb88f4714c47af66d7053304092659fb43
revision: pull/70660/head
remote: zephyrproject

# Import some projects listed in zephyr/west.yml@revision
Expand Down

0 comments on commit 7ee1cda

Please sign in to comment.