ASoC: Intel: sof_cs42l42: use ssp-common module to detect codec
authorBrent Lu <brent.lu@intel.com>
Fri, 15 Sep 2023 12:48:38 +0000 (20:48 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Sep 2023 13:44:35 +0000 (14:44 +0100)
commit811e874dd3fbe61709c246a99168f6416b76ddf3
tree2aadd5d070d58ee880d16269048c6091bc1de47a
parent5f706c5e929b10c6fa38c0170d9ddec21e373f20
ASoC: Intel: sof_cs42l42: use ssp-common module to detect codec

Use ssp-common module to detect codec and amplifier type in driver
probe function and remove all quirks about codec and amplifier type.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230915124852.1696857-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig
sound/soc/intel/boards/sof_cs42l42.c