diff options
author | Mark Brown <broonie@kernel.org> | 2016-05-27 14:45:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-27 14:45:41 +0200 |
commit | e61249bb8a67a9f31a52f91259569aa44e9f6ca2 (patch) | |
tree | 5b25a721fcb4fbcba6f35bbe51e2a90965dceada /sound/soc/omap/omap-pcm.c | |
parent | Merge remote-tracking branch 'asoc/topic/tas5270' into asoc-next (diff) | |
parent | ASoC: omap-pcm: Initialize DMA configuration (diff) | |
download | linux-e61249bb8a67a9f31a52f91259569aa44e9f6ca2.tar.xz linux-e61249bb8a67a9f31a52f91259569aa44e9f6ca2.zip |
Merge remote-tracking branch 'asoc/topic/omap' into asoc-next
Diffstat (limited to 'sound/soc/omap/omap-pcm.c')
-rw-r--r-- | sound/soc/omap/omap-pcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index 99381a27295b..a84f677234f0 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/omap/omap-pcm.c @@ -82,6 +82,8 @@ static int omap_pcm_hw_params(struct snd_pcm_substream *substream, struct dma_chan *chan; int err = 0; + memset(&config, 0x00, sizeof(config)); + dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); /* return if this is a bufferless transfer e.g. |