[alsa-devel] [PATCH] ASoC: nau8824: user configuration of key detection
Mark Brown
broonie at kernel.org
Thu Mar 22 03:07:14 CET 2018
On Wed, Mar 21, 2018 at 03:30:23PM +0800, John Hsu wrote:
> 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.
It's more normal for this configuration to be done as part of the
platform bindings for the device, with the values being tuned based on
the in box headset and the tastes of the system integrator, seeing this
exposed as a userspace control is a bit surprising - what motivated
that?
If we are going to have this tunable from userspace we probably want a
standard interface for it so that the userspace software can work more
generally. However that's a bit tricky as the tunable parameters are
going to vary...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180322/eace6a94/attachment-0001.sig>
More information about the Alsa-devel
mailing list