mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 17:16:30 +01:00
topology: nhlt: Intel: Clear DMIC BFTH bits for version
The former Burst Fifo ThresHold bits 20-23 in output register are specified as reserved bits starting from driver version 4. Closes: https://github.com/alsa-project/alsa-utils/pull/254 Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9efbf459fb
commit
19a75d0ebc
1 changed files with 4 additions and 1 deletions
|
@ -781,7 +781,10 @@ static int configure_registers(struct intel_dmic_params *dmic, struct dmic_calc_
|
|||
}
|
||||
}
|
||||
|
||||
if (dmic->dmic_prm[di].driver_version == 2 || dmic->dmic_prm[di].driver_version == 3) {
|
||||
if (dmic->dmic_prm[di].driver_version >= 2) {
|
||||
if (dmic->dmic_prm[di].driver_version >= 4)
|
||||
bfth = 0;
|
||||
|
||||
if (di == 0) {
|
||||
ipm_helper2(dmic, source, &ipm);
|
||||
val = OUTCONTROL0_TIE(0) |
|
||||
|
|
Loading…
Reference in a new issue