Re: [PATCH v3] sound/soc/lapis: add machine driver v3 updated

From: Mark Brown
Date: Fri Dec 09 2011 - 07:25:22 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/