]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: nau8821: Add headset button detection
authorSeven Lee <wtli@nuvoton.com>
Mon, 27 Jun 2022 03:29:59 +0000 (11:29 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Jul 2022 16:18:45 +0000 (17:18 +0100)
commitfd8509b45010188ae046bb7aeb92d6ce36900d75
treefdc1166bfbb253871367c93c459fc9fc03a379de
parenta1c5258df2201e05e7c9b9dde7982fa00b02391a
ASoC: nau8821: Add headset button detection

This patch adds the function of headphone button detection,
Button detection will be enabled if the device tree
has a key_enable property.

Signed-off-by: Seven Lee <wtli@nuvoton.com>
Link: https://lore.kernel.org/r/20220627032959.3442064-1-wtli@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/nau8821.txt
sound/soc/codecs/nau8821.c
sound/soc/codecs/nau8821.h