ASoC: codecs: ES8326: Change Hp_detect register names

The old register naming method is confusing. The reg 0x57 decides
the default headset hardware connection type, and the reg 0xfb is
the headset detection status register, which changes during headset
insertion. Change the name to ES8326_HPDET_TYPE and ES8326_HPDET_STA.

Signed-off-by: Zhu Ning <zhuning0077@gmail.com>
Link: https://lore.kernel.org/r/20230717033223.42506-1-zhuning0077@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Zhu Ning 2023-07-17 11:32:19 +08:00 • committed by Mark Brown
commit 4ddad00c60
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 13 additions and 10 deletions