ASoC: palm27x: fix widgets and routes in dai_link init
authorMike Dunn <mikedunn@newsguy.com>
Sat, 29 Dec 2012 18:53:17 +0000 (10:53 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Jan 2013 13:07:00 +0000 (13:07 +0000)
commit016fb39c98a71539d9abd5ee66cc1103a32fbb34
treecf4bc69c5c104ee4f5ec9676a339ce65237a2b06
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
ASoC: palm27x: fix widgets and routes in dai_link init

ASoC core code now handles creation of controls and routing based on contents of
struct snd_soc_card, so remove calls to snd_soc_dapm_new_controls() and
snd_soc_dapm_add_routes() from the snd_soc_dai_link init function, and add
widget and route definitions to struct snd_soc_card.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/palm27x.c