diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-03-22 09:19:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-22 11:38:43 -0400 |
commit | 4a163c82d600e554ef79e931db6315026e1fc819 (patch) | |
tree | ec4e0d46470cab01afb2647d6f24fa5c794f4996 /sound/soc | |
parent | e16605855d58803fe0608417150c7a618b4f8243 (diff) |
ASoC: Add extra parameter to device_prep_dma_cyclic
Since commit 185ecb5 (dmaengine: add context parameter to prep_slave_sg and prep_dma_cyclic)
prep_dma_cyclic() got an extra context parameter.
Add this new parameter in order to fix the following build error (mxs_defconfig and imx_v4_v5_defconfig):
sound/soc/soc-dmaengine-pcm.c:149:3: error: too few arguments to function 'chan->device->device_prep_dma_cyclic'
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-dmaengine-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dmaengine-pcm.c b/sound/soc/soc-dmaengine-pcm.c index 4420b7030c83..76c038b4a970 100644 --- a/sound/soc/soc-dmaengine-pcm.c +++ b/sound/soc/soc-dmaengine-pcm.c | |||
@@ -146,7 +146,7 @@ static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream) | |||
146 | desc = chan->device->device_prep_dma_cyclic(chan, | 146 | desc = chan->device->device_prep_dma_cyclic(chan, |
147 | substream->runtime->dma_addr, | 147 | substream->runtime->dma_addr, |
148 | snd_pcm_lib_buffer_bytes(substream), | 148 | snd_pcm_lib_buffer_bytes(substream), |
149 | snd_pcm_lib_period_bytes(substream), direction); | 149 | snd_pcm_lib_period_bytes(substream), direction, NULL); |
150 | 150 | ||
151 | if (!desc) | 151 | if (!desc) |
152 | return -ENOMEM; | 152 | return -ENOMEM; |