diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-24 12:24:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-24 12:24:05 +0200 |
commit | 70e0db2f7434961c778466708c032e76775b7f1e (patch) | |
tree | e762eb159000dc98090306e3a57d1ae0459312d5 /include/sound/soc-dai.h | |
parent | Merge remote-tracking branch 'asoc/topic/devm' into asoc-next (diff) | |
parent | ASoC: dmaengine: Use filter_data rather than dma_data for compat requests (diff) | |
download | linux-70e0db2f7434961c778466708c032e76775b7f1e.tar.xz linux-70e0db2f7434961c778466708c032e76775b7f1e.zip |
Merge remote-tracking branch 'asoc/topic/dma' into asoc-next
Diffstat (limited to 'include/sound/soc-dai.h')
-rw-r--r-- | include/sound/soc-dai.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index d8acf0ca77be..b0ee6590b8ba 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -279,6 +279,13 @@ static inline void snd_soc_dai_set_dma_data(struct snd_soc_dai *dai, dai->capture_dma_data = data; } +static inline void snd_soc_dai_init_dma_data(struct snd_soc_dai *dai, + void *playback, void *capture) +{ + dai->playback_dma_data = playback; + dai->capture_dma_data = capture; +} + static inline void snd_soc_dai_set_drvdata(struct snd_soc_dai *dai, void *data) { |