]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: nau8824: user configuration of key detection
authorJohn Hsu <KCHSU0@nuvoton.com>
Wed, 21 Mar 2018 07:30:23 +0000 (15:30 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 17 Apr 2018 16:13:43 +0000 (17:13 +0100)
commit7b0037fa2d6048284e90de4131fc53c0ac1d4430
tree9738233040a1b485623a8daa7d284fabbf5f53e7
parent13838c11c31e764d8143fdfcccea47691afd5ff2
ASoC: nau8824: user configuration of key detection

The SAR ADC of key press detection varies depending on headset.
We can't make a set of common threshold values for every case.
Therefore, the driver provides configuration for user and
they can set up values by UCM configuration.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8824.c