Re: [PATCH] ALSA: SoC: Added jack detection kcontrol support
From: Mark Brown
Date: Tue Jul 23 2013 - 08:40:52 EST
On Mon, Jul 22, 2013 at 02:11:44PM -0700, Felipe Tonello wrote:
> My question is: Why ALSA Jack support uses evdev input events to
> notify user-space? Is there any user-space relying on that? If no, I
> would like to change ALSA Jack implementation to only use KControl and
> remove specific implementations.
This was the existing kernel API at the time that the code was added -
I beleive people had been doing that for simple switches that detect the
physical presence of a jack since it looks exactly like a button from a
hardware point of view. See the original commit adding the code.
Attachment:
signature.asc
Description: Digital signature