diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-04-18 10:24:31 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-04-18 10:24:31 -0400 |
commit | 8dd2b66d1a961231685a3bfe5937c85d846fbf5d (patch) | |
tree | 8117553488bf4ef09b048a4b343cf37cc16bf46d /sound/soc/pxa | |
parent | 126825e7ea271ae8e3172e10ca1fc22c908b5385 (diff) | |
parent | 24568ea4bef5ab8106206eddf5512434421c00ed (diff) |
Merge tag 'asoc-v3.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: More updates for v3.10
The main additional change here is Lars-Peter's DMA work plus the
platform conversions which have been tested - getting this in mainline
will make life easier for development after the merge window. These
factor a large chunk of code out of the drivers for the platforms using
dmaengine, greatly simplifying development.
Diffstat (limited to 'sound/soc/pxa')
-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, |