ASoC: codecs: ES8326: Add chip version flag
authorZhu Ning <zhuning0077@gmail.com>
Wed, 1 Nov 2023 07:27:00 +0000 (15:27 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Nov 2023 00:44:26 +0000 (00:44 +0000)
commitee09084fbf9fdda6bf0179bcdca52196d0cde8a1
treef9ccdc27de48e26031a5bc99effec50b5026068f
parentb85ea95d086471afb4ad062012a4d73cd328fa86
ASoC: codecs: ES8326: Add chip version flag

The new chip version requires the addition of a new clock table.
We determine which clock table to choose based on the version.
Newer versions of the chip have fewer processes to go through
in the headset detection, so the version flag is used to skip them.

Signed-off-by: Zhu Ning <zhuning0077@gmail.com>
Link: https://lore.kernel.org/r/20231101072702.91316-2-zhuning0077@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8326.c [changed mode: 0644->0755]