ASoC: Intel: sof_rt5682: use ssp-common module to detect codec
authorBrent Lu <brent.lu@intel.com>
Fri, 15 Sep 2023 12:48:37 +0000 (20:48 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Sep 2023 13:44:34 +0000 (14:44 +0100)
commit5f706c5e929b10c6fa38c0170d9ddec21e373f20
tree96f36455957a5b2bbeae99e3b4d4435a3839875c
parent02a204dd4e627900fad66b4362f6c4fb6a0a7a26
ASoC: Intel: sof_rt5682: 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.
Due to codec detection feature, we could remove HP Dooly's DMI quirk
safely.

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-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig
sound/soc/intel/boards/sof_rt5682.c