commit | 8d946dd7dc5cc3f0eae3d6df2c9e927497e38850 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Thu Dec 22 13:10:02 2011 +0200 |
committer | Peter Ujfalusi <peter.ujfalusi@ti.com> | Thu Jan 26 15:40:49 2012 +0200 |
tree | d3ccccf52c0f991cec6d24ea6b059bd710b6d82a | |
parent | b3208839106476fe31b4bf3e6a2470cae509b2a5 [diff] |
ASoC: omap-abe-twl6040: DAI link selection based on platform data We can have machines without DMIC connected. In this case there is no need to create amother (unusable) capture PCM on the card. The existence of the DMIC connection can be checked via pdata->has_dmic. Select the correct dai_link structure for the card based on pdata->has_dmic. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>