ASoC: omap-abe-twl6040: Keep only one snd_soc_dai_link structure
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 24 Apr 2012 09:36:25 +0000 (12:36 +0300)
committerLiam Girdwood <lrg@ti.com>
Tue, 22 May 2012 16:33:19 +0000 (17:33 +0100)
commitc2f98956e3635a897737cc08a60539752aa00dd7
tree2e248923afddf6c2ac8f8534a53fb2f6ad41c112
parent2ec1be372139328b1aa3203eb1fd61d613b2d7fb
ASoC: omap-abe-twl6040: Keep only one snd_soc_dai_link structure

There is no need to have two snd_soc_dai_link structure for the two setup
the machine driver supports.
We can just tell core to register only the first link if the DMIC link is
not in use on the device.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/omap/omap-abe-twl6040.c