ASoC: soc-pcm: Allow to specify unidirectional dai_link
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 29 Aug 2013 13:32:13 +0000 (10:32 -0300)
committerMark Brown <broonie@linaro.org>
Sun, 1 Sep 2013 15:29:27 +0000 (16:29 +0100)
commitd6bead020d8f8bcaca5cdcb035250c44b21c93e7
treecca1acff1246987d91bffe6906e82f0d38136e6b
parent6b4c80f947df9d92b97eb62afc29dda6d7220c7d
ASoC: soc-pcm: Allow to specify unidirectional dai_link

Add 'playback_only' and 'capture_only' fields that can be used for specifying
that a dai_link has a unidirectional capability.

The motivation for this is for the cases of systems, such as Freescale MX28,
that has two unidirectional DAIs.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-pcm.c