aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm/pxa2xx-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/arm/pxa2xx-pcm.c')
-rw-r--r--sound/arm/pxa2xx-pcm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/arm/pxa2xx-pcm.c b/sound/arm/pxa2xx-pcm.c
index 26422a3584ea..69a2455b4472 100644
--- a/sound/arm/pxa2xx-pcm.c
+++ b/sound/arm/pxa2xx-pcm.c
@@ -11,8 +11,11 @@
11 */ 11 */
12 12
13#include <linux/module.h> 13#include <linux/module.h>
14#include <linux/dmaengine.h>
15
14#include <sound/core.h> 16#include <sound/core.h>
15#include <sound/pxa2xx-lib.h> 17#include <sound/pxa2xx-lib.h>
18#include <sound/dmaengine_pcm.h>
16 19
17#include "pxa2xx-pcm.h" 20#include "pxa2xx-pcm.h"
18 21
@@ -40,7 +43,7 @@ static int pxa2xx_pcm_open(struct snd_pcm_substream *substream)
40 43
41 rtd->params = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 44 rtd->params = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ?
42 client->playback_params : client->capture_params; 45 client->playback_params : client->capture_params;
43 ret = pxa_request_dma(rtd->params->name, DMA_PRIO_LOW, 46 ret = pxa_request_dma("dma", DMA_PRIO_LOW,
44 pxa2xx_pcm_dma_irq, substream); 47 pxa2xx_pcm_dma_irq, substream);
45 if (ret < 0) 48 if (ret < 0)
46 goto err2; 49 goto err2;