Skip to content

Commit

Permalink
topology: nhlt: Intel: Clear DMIC BFTH bits for version
Browse files Browse the repository at this point in the history
The former Burst Fifo ThresHold bits 20-23 in output register are
specified as reserved bits starting from driver version 4.

Closes: alsa-project#254
Signed-off-by: Seppo Ingalsuo <[email protected]>
Signed-off-by: Jyri Sarha <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
singalsu authored and perexg committed Mar 16, 2024
1 parent 9efbf45 commit 19a75d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion topology/nhlt/intel/dmic/dmic-process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down

0 comments on commit 19a75d0

Please sign in to comment.