[alsa-devel] [PATCH 3/4] ASoC: mid-x86: Add support for capture in machine driver

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Jan 19 15:24:23 CET 2011

On Wed, Jan 19, 2011 at 06:17:01PM +0530, Harsha Priya wrote:

> +	/* we are using DMICs here so configure how the clock and out pin is set */
> +	snd_soc_write(codec, SN95031_DMICBUF0123, 0x85);
> +	snd_soc_write(codec, SN95031_DMICBUF45, 0x02);
> +	snd_soc_update_bits(codec, SN95031_DMICMUX, 0x7, 0x07);

This looks like something which would more normally be done with
platform data than with writes in the machine driver.

More information about the Alsa-devel mailing list