On Thu, Jan 27, 2011 at 04:47:12PM +0200, Jarkko Nikula wrote: > + rx51_ear_func = ucontrol->value.integer.value[0]; > + if (rx51_ear_func) > + snd_soc_dapm_enable_pin(dapm, "Earphone"); > + else > + snd_soc_dapm_disable_pin(dapm, "Earphone"); > + This looks like a PIN_SWITCH() DAPM control?