[alsa-devel] [PATCH 2/2] ASoC: omap: rx51: Add earphone support

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jan 27 16:27:18 CET 2011


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?


More information about the Alsa-devel mailing list