ASoC: Add data based control initialisation for CODECs and cards
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Apr 2011 10:18:44 +0000 (19:18 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 8 Apr 2011 00:18:11 +0000 (09:18 +0900)
commitb7af1dafdfaf8419065399d07fb7cbae14b286ef
tree1b7a97fdc716edeed1b236e65d8afd3c3cbd03d3
parentd9b3e4c5156476a4baf0d7e0f47ba2816b4fff8e
ASoC: Add data based control initialisation for CODECs and cards

Allow CODEC and card drivers to point to an array of controls from their
driver structure rather than explicitly calling snd_soc_add_controls().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-core.c