[alsa-devel] [PATCH] ASoC: Add jack_status_check callback function

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Nov 12 16:38:40 CET 2009


On Thu, Nov 12, 2009 at 05:14:04PM +0900, Joonyoung Shim wrote:
> The jack_status_check callback function is the interface to check the
> status of the jack. Some target provides the method to distinguish what
> is the jack inserted - headphone jack, microphone jack, tvout jack, etc,
> so we can implement it using the jack_status_check function.

Applied, thanks.  

Obviously with some jack detection methods you'd just be using multiple
GPIOs but that's not going to work for everything.  If someone needs
platform data of some kind passing into the jack that could be added
later.


More information about the Alsa-devel mailing list