Skip to content

Commit

Permalink
Fixup! ASoC: SOF: Intel: hda: refactoring topology name fixup for SDW…
Browse files Browse the repository at this point in the history
… mach

In original design, dmic_num is zero if link_mask is more than two
bits even there are PCH DMIC on board. We need to keep this logic after
refactoring.

Signed-off-by: Brent Lu <brent.lu@intel.com>
  • Loading branch information
brentlu authored and plbossart committed Aug 6, 2024
1 parent 7913a65 commit 5182dd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/sof/intel/hda.c
Original file line number Diff line number Diff line change
Expand Up @@ -1282,6 +1282,8 @@ struct snd_soc_acpi_mach *hda_machine_select(struct snd_sof_dev *sdev)
*/
if (hweight_long(mach->link_mask) <= 2)
dmic_fixup = true;
else
mach->mach_params.dmic_num = 0;
} else {
if (mach->tplg_quirk_mask & SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER)
dmic_fixup = true;
Expand Down

0 comments on commit 5182dd3

Please sign in to comment.