Skip to content

Commit 4af565d

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: acp: fix for acp pdm configuration check
ACP PDM configuration has to be verified for all combinations. Remove FLAG_AMD_LEGACY_ONLY_DMIC check. Fixes: 3a94c8a ("ASoC: amd: acp: add code for scanning acp pdm controller") Signed-off-by: Vijendar Mukunda <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 3849c4d commit 4af565d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

sound/soc/amd/acp/acp-pci.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,9 @@ static int acp_pci_probe(struct pci_dev *pci, const struct pci_device_id *pci_id
133133
}
134134
}
135135

136-
if (flag == FLAG_AMD_LEGACY_ONLY_DMIC) {
137-
ret = check_acp_pdm(pci, chip);
138-
if (ret < 0)
139-
goto skip_pdev_creation;
140-
}
136+
ret = check_acp_pdm(pci, chip);
137+
if (ret < 0)
138+
goto skip_pdev_creation;
141139

142140
chip->flag = flag;
143141
memset(&pdevinfo, 0, sizeof(pdevinfo));

0 commit comments

Comments
 (0)