26 Jan
2012
26 Jan
'12
11:45 a.m.
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.