Skip to content

Commit

Permalink
copier: dai: fix sndw init flow
Browse files Browse the repository at this point in the history
Use HDA DMA with SoundWire interface for ACE_VERSION > ACE_VERSION_1_5

Signed-off-by: Ievgen Ganakov <[email protected]>
  • Loading branch information
iganakov committed Jun 25, 2024
1 parent df39f01 commit 588c4a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio/copier/copier_dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,15 @@ int copier_dai_create(struct comp_dev *dev, struct copier_data *cd,
break;
case ipc4_alh_link_output_class:
case ipc4_alh_link_input_class:
#if defined(CONFIG_ACE_VERSION_2_0)
#if ACE_VERSION > ACE_VERSION_1_5
dai.type = SOF_DAI_INTEL_HDA;
dai.is_config_blob = true;
type = ipc4_gtw_link;
#else
dai.type = SOF_DAI_INTEL_ALH;
dai.is_config_blob = true;
type = ipc4_gtw_alh;
#endif /* defined(CONFIG_ACE_VERSION_2_0) */
#endif /* ACE_VERSION > ACE_VERSION_1_5 */
ret = copier_alh_assign_dai_index(dev, cd->gtw_cfg, node_id,
&dai, dai_index, &dai_count);
if (ret)
Expand Down

0 comments on commit 588c4a8

Please sign in to comment.