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.

West update to necessary SSP changes:
driver: ssp: update Intel SSP DAI driver to support dynamic SSP management

Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
  • Loading branch information
dnikodem committed Apr 25, 2024
1 parent aa60e65 commit 95c4e8c
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: 799a456c25868521024e5104b5fc927faea7b41c
revision: 24554363379d69469e35b254c42c999a2a98a9c1
remote: zephyrproject

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

0 comments on commit 95c4e8c

Please sign in to comment.