Skip to content

Commit 1566c17

Browse files
ujfalusibardliao
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") Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 48e1714 commit 1566c17

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)