diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-23 14:26:00 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-23 14:26:00 -0400 |
commit | 9eb8ae727dcb9f2530a895ee6b3496592853709d (patch) | |
tree | 2d72cfcad6f9a79074eaf180033706fd8aa600b5 /sound/soc/pxa/mmp-pcm.c | |
parent | 5561f17f2629cdacf5bc43e0f839ca6434db2c20 (diff) | |
parent | 6f1fd93e304f6f4f8b841e1b0124f3ab4c85ba2e (diff) |
Merge remote-tracking branch 'asoc/topic/dma' into asoc-next
Diffstat (limited to 'sound/soc/pxa/mmp-pcm.c')
-rw-r--r-- | sound/soc/pxa/mmp-pcm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c index 6c3980252bf6..349930015264 100644 --- a/sound/soc/pxa/mmp-pcm.c +++ b/sound/soc/pxa/mmp-pcm.c | |||
@@ -131,7 +131,8 @@ static int mmp_pcm_open(struct snd_pcm_substream *substream) | |||
131 | dma_data.dma_res = r; | 131 | dma_data.dma_res = r; |
132 | dma_data.ssp_id = cpu_dai->id; | 132 | dma_data.ssp_id = cpu_dai->id; |
133 | 133 | ||
134 | return snd_dmaengine_pcm_open(substream, filter, &dma_data); | 134 | return snd_dmaengine_pcm_open_request_chan(substream, filter, |
135 | &dma_data); | ||
135 | } | 136 | } |
136 | 137 | ||
137 | static int mmp_pcm_mmap(struct snd_pcm_substream *substream, | 138 | static int mmp_pcm_mmap(struct snd_pcm_substream *substream, |
@@ -148,7 +149,7 @@ static int mmp_pcm_mmap(struct snd_pcm_substream *substream, | |||
148 | 149 | ||
149 | struct snd_pcm_ops mmp_pcm_ops = { | 150 | struct snd_pcm_ops mmp_pcm_ops = { |
150 | .open = mmp_pcm_open, | 151 | .open = mmp_pcm_open, |
151 | .close = snd_dmaengine_pcm_close, | 152 | .close = snd_dmaengine_pcm_close_release_chan, |
152 | .ioctl = snd_pcm_lib_ioctl, | 153 | .ioctl = snd_pcm_lib_ioctl, |
153 | .hw_params = mmp_pcm_hw_params, | 154 | .hw_params = mmp_pcm_hw_params, |
154 | .trigger = snd_dmaengine_pcm_trigger, | 155 | .trigger = snd_dmaengine_pcm_trigger, |