8 May
2008
8 May
'08
12:31 p.m.
On Thu, May 08, 2008 at 03:57:04PM +0530, Srinivas.Kandagatla wrote:
I see the background of ASOC states that it supports some mechanism for events from plugging/unplugging headphone. But I don't see this support in any of the drivers/alsa-lib or is this feature is yet to come in ASOC core.
There is currently no core support for this. The machine driver needs to listen for headphone insert events using whatever mechanism the board supports and call snd_soc_dapm_set_endpoint() to enable and disable the relevant jacks when the headphones are connected and disconnected.