Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/audio/copier/copier.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,11 @@ static int create_dai(struct comp_dev *parent_dev, struct copier_data *cd,

break;
case ipc4_dmic_link_input_class:
dai_index[dai_count - 1] = (dai_index[dai_count - 1] >> 5) & 0x7;
/* For some unknown reason Linux and Windows hosts use different range of node_id
* for DMIC. Let's workaround to support both ranges.
*/
if (dai_index[dai_count - 1] >= BIT(5))
dai_index[dai_count - 1] = (dai_index[dai_count - 1] >> 5) & 0x7;
dai.type = SOF_DAI_INTEL_DMIC;
dai.is_config_blob = true;
type = ipc4_gtw_dmic;
Expand Down