ASoC: codecs: ES8326: Changing the headset detection time
authorZhu Ning <zhuning0077@gmail.com>
Wed, 1 Nov 2023 07:27:02 +0000 (15:27 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Nov 2023 00:44:27 +0000 (00:44 +0000)
commit8a81491adbd9b25a648704c9825adaefb0c31868
treeacdf9794040f3cec5e4664f1cf24fcb24f144b74
parentfc702b2c04d778d7e3a4091ebe54a86c5d0a0d96
ASoC: codecs: ES8326: Changing the headset detection time

The old headset detection time is not enough for the new chip version.
An error occurs with the old detection time.According to tests,
400ms is the best detection time that does not trigger an error.
The delay time after the trigger is reduced by 300ms to
keep the whole detection time unchanged.

Signed-off-by: Zhu Ning <zhuning0077@gmail.com>
Link: https://lore.kernel.org/r/20231101072702.91316-4-zhuning0077@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8326.c