On Tue, Jul 25, 2017 at 01:51:25PM -0400, Damien Riegel wrote: > +int pm8916_wcd_analog_jack_detect(struct snd_soc_codec *codec, > + struct snd_soc_jack *jack) > +{ Sorry, also meant to mention: use the set_jack() operation to make it easier to use with generic cards.