[alsa-devel] [PATCH v3] sound/soc/lapis: add machine driver v3 updated

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Dec 9 13:24:59 CET 2011


On Fri, Dec 09, 2011 at 08:03:52PM +0900, Tomoya MORINAGA wrote:

> +	snd_soc_dapm_new_controls(dapm, ml7213_dapm_widgets,
> +				  ARRAY_SIZE(ml7213_dapm_widgets));
> +
> +	snd_soc_dapm_add_routes(dapm, ml7213_routes, ARRAY_SIZE(ml7213_routes));

You should also use table based init for these (see the card struct).
Otherwise this looks good, though obviously there's a dependency on the
CPU drivers.


More information about the Alsa-devel mailing list