Skip to contentSkip to conversation

ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count

PATCH In review Peter Ujfalusi 3 participants 3 messages Jun 19, 2025 – Jun 21, 2025

Subsystems (4)
lore
Share & tools
lore

Peter Ujfalusi

author maintainer
#0 lore raw

PATCH 1/1 ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count

It is better to print out the non supported num_dmics than printing that it is not matching with 2 or 4.

Fixes 2fbeff33381c ("ASoC: Intel: add sof_sdw_get_tplg_files ops")
---
 sound/soc/intel/common/sof-function-topology-lib.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
sound/soc/intel/common/sof-function-topology-lib.c +2 -1
index 90fe7aa3df1c..3cc81dcf047e 100644
@@ -73,7 +73,8 @@ int sof_sdw_get_tplg_files(struct snd_soc_card *card, const struct snd_soc_acpi_
 				break;
 			default:
 				dev_warn(card->dev,
-					 "only -2ch and -4ch are supported for dmic\n");
+					 "unsupported number of dmics: %d\n",
+					 mach_params.dmic_num);
 				continue;
 			}
 			tplg_dev = TPLG_DEVICE_INTEL_PCH_DMIC;
Signature · 1 line
2.49.0
maintainer
#1 lore raw
Quoted 4 lines · Peter Ujfalusi

It is better to print out the non supported num_dmics than printing that it is not matching with 2 or 4.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count

      commit: 16ea4666bbb7f5bd1130fa2d75631ccf8b62362e

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

maintainer
#2 lore raw
In reply to Peter Ujfalusi

[ Sasha's backport helper bot ]

Hi,

Summary of potential issues:
⚠️ Found matching upstream commit but patch is missing proper reference to it

Found matching upstream commit: 16ea4666bbb7f5bd1130fa2d75631ccf8b62362e

Note: The patch differs from the upstream commit:
---

1:  16ea4666bbb7f < -:  ------------- ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count
-:  ------------- > 1:  a2b47f77e740a Linux 6.15.3

---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.15.y       |  Success    |  Success   |
| stable/linux-6.12.y       |  Success    |  Success   |
| stable/linux-6.6.y        |  Success    |  Success   |
| stable/linux-6.1.y        |  Success    |  Success   |
| stable/linux-5.15.y       |  Success    |  Success   |
| stable/linux-5.10.y       |  Success    |  Success   |
| stable/linux-5.4.y        |  Success    |  Success   |