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>
This commit is contained in:
Zhu Ning 2023-11-01 15:27:00 +08:00 • committed by Mark Brown
commit ee09084fbf
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

174
sound/soc/codecs/es8326.c → Executable file