[alsa-devel] [PATCH v2 10/10] ASoC: mrst_machine: add initial config to machine driver

Mark Brown broonie at opensource.wolfsonmicro.com
Fri May 6 14:54:40 CEST 2011

On Fri, May 06, 2011 at 01:46:49PM +0800, Lu Guanqun wrote:

> +	/* DMIC configuration: mono output to PCM2 */
> +	snd_soc_update_bits(codec, UPD9976_MICCTRL, BIT(1)|BIT(0), 0x1);
> +
> +	/* Set MIC2 to pseudo-differential */
> +	snd_soc_update_bits(codec, UPD9976_MICSELVOL, BIT(4), BIT(4));
> +

These look like regular routing controls to me...  If they do need to be
set with magic writes they should be platform data but things like
pseudo differential inputs are normally just represented as two single
ended inputs for which userspace just happens to choose a path that
looks differential.

More information about the Alsa-devel mailing list