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 Mar 27, 2024
1 parent 41bdc0c commit 1183253
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: 66b475a3aa4d73f4ddd5be5a7a1e0f3c7028e539
revision: pull/70660/head
remote: zephyrproject

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

0 comments on commit 1183253

Please sign in to comment.