9 Dec
2011
9 Dec
'11
1:24 p.m.
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.