diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2014-01-07 17:51:42 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-07 17:57:48 +0000 |
commit | 1e9de42f4324b91ce2e9da0939cab8fc6ae93893 (patch) | |
tree | d482178030e7a5c78fc8b7c1f48724446358fcc1 /include/sound/soc.h | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | op-kernel-dev-1e9de42f4324b91ce2e9da0939cab8fc6ae93893.zip op-kernel-dev-1e9de42f4324b91ce2e9da0939cab8fc6ae93893.tar.gz |
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>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 1f741cb..a5ef14f 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -886,6 +886,10 @@ struct snd_soc_dai_link { /* This DAI link can route to other DAI links at runtime (Frontend)*/ unsigned int dynamic:1; + /* DPCM capture and Playback support */ + unsigned int dpcm_capture:1; + unsigned int dpcm_playback:1; + /* pmdown_time is ignored at stop */ unsigned int ignore_pmdown_time:1; |