]> 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)
commit364d1d334e8d40ded7625dcc82a53fd94280d291
tree2e248923afddf6c2ac8f8534a53fb2f6ad41c112
parent77e21103a07a1f391bb70e9b9593a46f0fca2e24
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