]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: sof_rt5682: detect codec variant in probe function
authorBrent Lu <brent.lu@intel.com>
Fri, 29 Oct 2021 17:14:05 +0000 (01:14 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 29 Oct 2021 17:55:18 +0000 (18:55 +0100)
commit1c4ea11df724ab4d124bdd4702b37a5b128d17c9
tree36b0660060a001bdad084fadc6abf1eed0e0d9e6
parent0abf794ee40cda1136e13a40b3d7b30e09834cb6
ASoC: Intel: sof_rt5682: detect codec variant in probe function

Detect whether the headphone codec is ALC5682I-VS or not in probe
function so we don't need to duplicate all board configs for this new
variant.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20211029171409.611600-3-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c