Skip to content

Commit 16ea466

Browse files
ujfalusibroonie
authored andcommitted
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: 2fbeff3 ("ASoC: Intel: add sof_sdw_get_tplg_files ops") Cc: [email protected] Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6c5b889 commit 16ea466

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sound/soc/intel/common/sof-function-topology-lib.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ int sof_sdw_get_tplg_files(struct snd_soc_card *card, const struct snd_soc_acpi_
7373
break;
7474
default:
7575
dev_warn(card->dev,
76-
"only -2ch and -4ch are supported for dmic\n");
76+
"unsupported number of dmics: %d\n",
77+
mach_params.dmic_num);
7778
continue;
7879
}
7980
tplg_dev = TPLG_DEVICE_INTEL_PCH_DMIC;

0 commit comments

Comments
 (0)