]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: sof_ssp_amp: fix no DMIC BE Link on Chromebooks
authorBrent Lu <brent.lu@intel.com>
Mon, 9 May 2022 17:09:21 +0000 (12:09 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 10 May 2022 13:01:50 +0000 (14:01 +0100)
commit25ca235854813e65b2930fb6599b9256157fac42
treef9ca90c1b61586e387fdc5b9dda80265813be774
parent0e6d123a77ef723662fd683543e3673f1f767156
ASoC: Intel: sof_ssp_amp: fix no DMIC BE Link on Chromebooks

The SOF topology supports 2 BE Links(dmic01 and dmic16k) and each
link supports up to four DMICs. However, Chromebook does not implement
ACPI NHLT table so the mach->mach_params.dmic_num is always zero. We
add a quirk so machine driver knows it's running on a Chromebook and
need to create BE Links for DMIC.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220509170922.54868-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_ssp_amp.c