projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3849c4d
)
ASoC: amd: acp: fix for acp pdm configuration check
author
Vijendar Mukunda
<Vijendar.Mukunda@amd.com>
Wed, 27 Mar 2024 10:46:53 +0000
(16:16 +0530)
committer
Mark Brown
<broonie@kernel.org>
Wed, 27 Mar 2024 15:00:22 +0000
(15:00 +0000)
ACP PDM configuration has to be verified for all combinations.
Remove FLAG_AMD_LEGACY_ONLY_DMIC check.
Fixes:
3a94c8ad0aae
("ASoC: amd: acp: add code for scanning acp pdm controller")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link:
https://msgid.link/r/20240327104657.3537664-2-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-pci.c
patch
|
blob
|
history
diff --git
a/sound/soc/amd/acp/acp-pci.c
b/sound/soc/amd/acp/acp-pci.c
index
8c8b1dc
..
440b91d
100644
(file)
--- a/
sound/soc/amd/acp/acp-pci.c
+++ b/
sound/soc/amd/acp/acp-pci.c
@@
-133,11
+133,9
@@
static int acp_pci_probe(struct pci_dev *pci, const struct pci_device_id *pci_id
}
}
- if (flag == FLAG_AMD_LEGACY_ONLY_DMIC) {
- ret = check_acp_pdm(pci, chip);
- if (ret < 0)
- goto skip_pdev_creation;
- }
+ ret = check_acp_pdm(pci, chip);
+ if (ret < 0)
+ goto skip_pdev_creation;
chip->flag = flag;
memset(&pdevinfo, 0, sizeof(pdevinfo));