mirror of https://github.com/thesofproject/sof.git
Audio: Copier: Add missing DMIC DAI index mapping to create_dai()
The dai_index needs to be mapped similarly as in kernel. The SSP type was handled correctly in the function but not DMIC. Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com> Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
764ce675ee
commit
8d166a432f
|
@ -379,6 +379,7 @@ 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;
|
||||
dai.type = SOF_DAI_INTEL_DMIC;
|
||||
dai.is_config_blob = true;
|
||||
type = ipc4_gtw_dmic;
|
||||
|
|
Loading…
Reference in New Issue