12 Nov
2014
12 Nov
'14
11:31 p.m.
On Wed, Nov 12, 2014 at 2:14 PM, Mark Brown broonie@kernel.org wrote:
On Wed, Nov 12, 2014 at 01:50:23PM -0800, Dylan Reid wrote:
This chip also has built-in support for the new button standard described in the Android "Wired audio headset specification" v1.0. These buttons will be reported on a separate input device.
We have a standard jack detection reporting interface in ASoC which can cope with buttons, please use it for them instead of creating a second device unless there's a strong reason. There are enough slots for that and an interface for specifying the values for the keys.
thanks Mark, I missed snd_jack_set_key, that will be much better.
I'll rework the patch to use that and resend.