summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-generic-dmaengine-pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai2013-11-08 16:45:38 +0100
committerTakashi Iwai2013-11-08 16:45:38 +0100
commita6bc732b5a96b5403c2637e85c350b95ec6591f3 (patch)
tree4b1c3967cd1de42a5e36e567cbdd18e1f4e8446f /sound/soc/soc-generic-dmaengine-pcm.c
parentALSA: hda/realtek - Add new codec ALC255/ALC3234 UAJ supported (diff)
parentMerge remote-tracking branch 'asoc/topic/wm8996' into asoc-next (diff)
downloadkernel-qcow2-linux-a6bc732b5a96b5403c2637e85c350b95ec6591f3.tar.gz
kernel-qcow2-linux-a6bc732b5a96b5403c2637e85c350b95ec6591f3.tar.xz
kernel-qcow2-linux-a6bc732b5a96b5403c2637e85c350b95ec6591f3.zip
Merge tag 'asoc-v3.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v3.13 Some additional fixes for v3.13, the majority of which are removals and downgrades of BUG()s from Takashi.
Diffstat (limited to 'sound/soc/soc-generic-dmaengine-pcm.c')
-rw-r--r--sound/soc/soc-generic-dmaengine-pcm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c
index 51fded3640a5..cbc9c96ce1f4 100644
--- a/sound/soc/soc-generic-dmaengine-pcm.c
+++ b/sound/soc/soc-generic-dmaengine-pcm.c
@@ -90,6 +90,8 @@ static int dmaengine_pcm_hw_params(struct snd_pcm_substream *substream,
struct dma_slave_config slave_config;
int ret;
+ memset(&slave_config, 0, sizeof(slave_config));
+
if (!pcm->config)
prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config;
else