ASoC: codecs: ES8326: Solve error interruption issue
authorZhang Yi <zhangyi@everest-semi.com>
Tue, 2 Apr 2024 06:20:40 +0000 (14:20 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 2 Apr 2024 14:54:16 +0000 (15:54 +0100)
commit8a655cee6c9d4588570ad0cb099c5660f9a44a12
tree67edb330a66ba3c867437ccf4c737389c63f956e
parent2c603a4947a1247102ccb008d5eb6f37a4043c98
ASoC: codecs: ES8326: Solve error interruption issue

We got an error report about headphone type detection and button detection.
We fixed the headphone type detection error by adjusting the debounce timer
configuration. And we fixed the button detection error by disabling the
button detection feature when the headphone are unplugged and enabling it
when headphone are plugged in.

Signed-off-by: Zhang Yi <zhangyi@everest-semi.com>
Link: https://msgid.link/r/20240402062043.20608-2-zhangyi@everest-semi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8326.c