ASoC: nau8825: Add the management of headset detection for power saving
authorDavid Lin <CTLIN0@nuvoton.com>
Wed, 31 May 2023 07:53:35 +0000 (15:53 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 May 2023 11:25:10 +0000 (12:25 +0100)
commit8315d8adc048bd7f8eb7ee5722ecef4e6e7d52ff
tree6c751a93ddcc761223810edc5e50f49f0b360294
parentb48aa6a3577cccd13ea21392540f6cde437dd04d
ASoC: nau8825: Add the management of headset detection for power saving

The patch is to manage HSD feature for power saving. The detail is to
disable HSD feature after the headset detection is done. When the jack
is inserted, the HSD feature will be enabled again.

Signed-off-by: David Lin <CTLIN0@nuvoton.com>
Link: https://lore.kernel.org/r/20230531075334.168637-1-CTLIN0@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8825.c