drivers: dmic: enable dmic mono configuration
DMIC configuration should allow to use mono source mode. Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
This commit is contained in:
parent
7cfc55359a
commit
b953ff1418
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ static int dai_nhlt_dmic_dai_params_get(struct dai_intel_dmic *dmic,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
stereo_pdm = 1;
|
stereo_pdm = OUTCONTROL0_IPM_SOURCE_MODE_GET(outcontrol_val);
|
||||||
|
|
||||||
dmic->dai_config_params.channels = (stereo_pdm + 1) * num_pdm;
|
dmic->dai_config_params.channels = (stereo_pdm + 1) * num_pdm;
|
||||||
for (n = 0; n < CONFIG_DAI_DMIC_HW_CONTROLLERS; n++)
|
for (n = 0; n < CONFIG_DAI_DMIC_HW_CONTROLLERS; n++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue