aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/imx-pcm-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-dma.c b/sound/soc/fsl/imx-pcm-dma.c
index a23505a9ae64..9a15bc4bd570 100644
--- a/sound/soc/fsl/imx-pcm-dma.c
+++ b/sound/soc/fsl/imx-pcm-dma.c
@@ -120,7 +120,7 @@ static int snd_imx_open(struct snd_pcm_substream *substream)
120 ret = snd_dmaengine_pcm_open(substream, filter, dma_data); 120 ret = snd_dmaengine_pcm_open(substream, filter, dma_data);
121 if (ret) { 121 if (ret) {
122 kfree(dma_data); 122 kfree(dma_data);
123 return 0; 123 return ret;
124 } 124 }
125 125
126 snd_dmaengine_pcm_set_data(substream, dma_data); 126 snd_dmaengine_pcm_set_data(substream, dma_data);