[alsa-devel] [PATCH 3/3] ASoC: dt: tegra: Enable headphone autodetection on PAZ00 board.

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jan 26 11:45:25 CET 2012

On Wed, Jan 25, 2012 at 02:31:06PM -0800, Stephen Warren wrote:
> Leon Romanovsky wrote at Wednesday, January 25, 2012 11:51 AM:

> > +static struct snd_soc_jack_gpio tegra_alc5632_hp_jack_gpio = {
> > +	.name = "Headphone detect",
> > +	.report = SND_JACK_HEADPHONE,

> I think that should be HEADSET not HEADPHONE, since it's a combo socket
> for both headphones and a mic isn't it? (so perhaps the name should also
> be "Headset detection"?

Unless the CODEC can do accessory detection on the mic in which case the
jack GPIO usually only reports headphone and then the CODEC detects if
it's a headset or headphone.

More information about the Alsa-devel mailing list