ASoC: Intel: sof_sdw: overwrite mach_params->dmic_num

mach_params->dmic_num will be used to set the cfg-mics value of
card->components string. Overwrite it to the actual number of PCH
DMICs used in the device.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://patch.msgid.link/20240827123215.258859-8-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Bard Liao 2024-08-27 20:32:05 +08:00 • committed by Mark Brown
commit 7db9f63611
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0