ASoC: Intel: sof_sdw: use mach data for ADL RVP DMIC count
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 21 Jun 2021 19:40:48 +0000 (14:40 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 22 Jun 2021 11:47:02 +0000 (12:47 +0100)
commit505351329d26e684588a6919c0407b8a0f5c3813
treeca9069d68db834eaa70d800c4527109b70383f88
parent439779ffd9096526e57994b118a3169c9ec57f72
ASoC: Intel: sof_sdw: use mach data for ADL RVP DMIC count

On the reference boards, number of PCH dmics may vary and the number
should be taken from driver machine data. Remove the SOF_SDW_PCH_DMIC
quirk to make DMIC number configurable.

Fixes:d25bbe80485f8 ("ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp")

BugLink: https://github.com/thesofproject/sof/issues/4185
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210621194057.21711-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c