ASoC: omap-abe-twl6040: DAI link selection based on platform data
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 22 Dec 2011 11:10:02 +0000 (13:10 +0200)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 26 Jan 2012 13:40:49 +0000 (15:40 +0200)
commit8d946dd7dc5cc3f0eae3d6df2c9e927497e38850
treed3ccccf52c0f991cec6d24ea6b059bd710b6d82a
parentb3208839106476fe31b4bf3e6a2470cae509b2a5
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>
sound/soc/omap/omap-abe-twl6040.c
This page took 0.026358 seconds and 5 git commands to generate.