* [PATCH] ASoC: dmaengine_pcm: use dmaengine cyclic wrapper
@ 2012-03-26 11:58 Vinod Koul
2012-03-26 17:28 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Vinod Koul @ 2012-03-26 11:58 UTC (permalink / raw)
To: alsa-devel, linux-next
Cc: broonie, paul.gortmaker, fabio.estevam, Alexandre.Bounine,
Vinod Koul
commit 4a163c82 added extra parameter to device_prep_dma_cyclic
this is not required if we use the wrapper over cyclic API.
This is split from Alexedre's patch
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
---
sound/soc/soc-dmaengine-pcm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/soc-dmaengine-pcm.c b/sound/soc/soc-dmaengine-pcm.c
index 76c038b..4756952 100644
--- a/sound/soc/soc-dmaengine-pcm.c
+++ b/sound/soc/soc-dmaengine-pcm.c
@@ -143,10 +143,10 @@ static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream)
direction = snd_pcm_substream_to_dma_direction(substream);
prtd->pos = 0;
- desc = chan->device->device_prep_dma_cyclic(chan,
+ desc = dmaengine_prep_dma_cyclic(chan,
substream->runtime->dma_addr,
snd_pcm_lib_buffer_bytes(substream),
- snd_pcm_lib_period_bytes(substream), direction, NULL);
+ snd_pcm_lib_period_bytes(substream), direction);
if (!desc)
return -ENOMEM;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: dmaengine_pcm: use dmaengine cyclic wrapper
2012-03-26 11:58 [PATCH] ASoC: dmaengine_pcm: use dmaengine cyclic wrapper Vinod Koul
@ 2012-03-26 17:28 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-03-26 17:28 UTC (permalink / raw)
To: Vinod Koul
Cc: alsa-devel, linux-next, paul.gortmaker, fabio.estevam,
Alexandre.Bounine
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
On Mon, Mar 26, 2012 at 05:28:08PM +0530, Vinod Koul wrote:
> commit 4a163c82 added extra parameter to device_prep_dma_cyclic
> this is not required if we use the wrapper over cyclic API.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-26 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 11:58 [PATCH] ASoC: dmaengine_pcm: use dmaengine cyclic wrapper Vinod Koul
2012-03-26 17:28 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).