ASoC: dpcm: Explicitly set BE DAI link supported stream directions
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Tue, 7 Jan 2014 17:51:42 +0000 (17:51 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 7 Jan 2014 17:57:48 +0000 (17:57 +0000)
commit1e9de42f4324b91ce2e9da0939cab8fc6ae93893
treed482178030e7a5c78fc8b7c1f48724446358fcc1
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
ASoC: dpcm: Explicitly set BE DAI link supported stream directions

Some BE DAIs can be "dummy" (when the DSP is controlling the DAI) and as such
wont have set a minimum number of playback or capture channels required for BE
DAI registration (to establish supported stream directions).

Force machine drivers to explicitly set whether they support playback and capture
stream directions for every BE DAIs.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-pcm.c