]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87ac67cb422fad264d0d25df62e3675ebfa52748
tree2e248923afddf6c2ac8f8534a53fb2f6ad41c112
parent726dfc4ee6702afd72a53f5403fd731af5614e88
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