diff options
| author | Mark Brown <broonie@kernel.org> | 2026-03-30 22:14:01 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-30 22:14:01 +0300 |
| commit | a8006eb599bb6c47bd9cfb58fb7ff8caab77a572 (patch) | |
| tree | 90fbd6bc5fdb536de528adec1698488853659fbc | |
| parent | d3d75c767680557f0bf8ca58c69ec490e9e248e2 (diff) | |
| parent | 371f6a1d2a972f2d749b9fdff1a453904f43dfce (diff) | |
| download | linux-a8006eb599bb6c47bd9cfb58fb7ff8caab77a572.tar.xz | |
ASoC: amd: acp: update dmic_num logic for acp pdm dmic
Vijendar Mukunda <Vijendar.Mukunda@amd.com> says:
This patch series updates the dmic_num logic for acp pdm dmic and
renames the dmic component name in acp soundwire legacy machine driver.
| -rw-r--r-- | sound/soc/amd/acp/acp-sdw-legacy-mach.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c b/sound/soc/amd/acp/acp-sdw-legacy-mach.c index 6388cd7cb28e..05484c72f9a8 100644 --- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c +++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c @@ -535,11 +535,11 @@ static int mc_probe(struct platform_device *pdev) " cfg-amp:%d", amp_num); if (!card->components) return -ENOMEM; - if (mach->mach_params.dmic_num) { + if (soc_sdw_quirk & ASOC_SDW_ACP_DMIC) { card->components = devm_kasprintf(card->dev, GFP_KERNEL, - "%s mic:dmic cfg-mics:%d", + "%s mic:acp-dmic cfg-mics:%d", card->components, - mach->mach_params.dmic_num); + 1); if (!card->components) return -ENOMEM; } |
