Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

+3 -3
+3 -3
sound/soc/amd/acp/acp-sdw-legacy-mach.c
··· 535 535 " cfg-amp:%d", amp_num); 536 536 if (!card->components) 537 537 return -ENOMEM; 538 - if (mach->mach_params.dmic_num) { 538 + if (soc_sdw_quirk & ASOC_SDW_ACP_DMIC) { 539 539 card->components = devm_kasprintf(card->dev, GFP_KERNEL, 540 - "%s mic:dmic cfg-mics:%d", 540 + "%s mic:acp-dmic cfg-mics:%d", 541 541 card->components, 542 - mach->mach_params.dmic_num); 542 + 1); 543 543 if (!card->components) 544 544 return -ENOMEM; 545 545 }