ASoC: codecs: ES8326: solve hp and button detect issue

We got an error report about headphone type detection and button detection.
We fixed the headphone type detection error by adjusting the condition
of setting es8326->hp to 0.And we fixed the button detection error by
adjusting micbias and vref.

Signed-off-by: Zhang Yi <zhangyi@everest-semi.com>
Link: https://msgid.link/r/20240515062517.23661-1-zhangyi@everest-semi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Zhang Yi 2024-05-15 14:25:17 +08:00 • committed by Mark Brown
commit 714f5df027
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0