Google
  Web www.spinics.net

Re: [PATCH] tosa: SW_EAR_IN support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, Jul 22, 2008 at 06:20:14PM +0400, Dmitry Baryshkov wrote:

> +	{
> +		.type	= EV_SW,
> +		.code	= SW_HEADPHONE_INSERT,
> +		.gpio	= TOSA_GPIO_EAR_IN,
> +		.desc	= "HeadPhone insert",
> +		.active_low = 1,
> +		.debounce_interval = 300,
> +	},

It would be nice to integrate this into the audio driver to let ASoC
keep the output paths powered down if the jack isn't detected but given
that the jack mode needs to be configured between modes by user space
I'm not sure that it isn't too much effort, at least until an ASoC
wrapper for ALSA jack detection is available.

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [Linux Arm]     [Fedora ARM]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux Book List]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Google PageRank Checking tool