lkml.org 
[lkml]   [2012]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] ASoC: Move pcm writecombine dma buffer allocation to core
Date
Some of the ARM based soc allocate the writecombine dma buffer for
pcm substreams. They have the same codes for managing this buffer.
Moving this to the core/pcm files so that they can use that directly.

Remove the code from Tegra PCM and use these new library function.

This is enabled only for ARM specific and can be extended to other
architecture if they support the writecombine dma buffer.

This patch is based on detail discussion on patch:
[PATCH] ASoC: snd_dmaengine: add common api for pcm_mmap
And suggestion from Lars and Takashi.


Laxman Dewangan (3):
ALSA: pcm: add apis for writecombine dma buffer allocation
ASoC: add apis for creating/free pcm dma buffer
ASoC: tegra: use core/pcm library for pcm buffer allocation

include/sound/pcm.h | 17 ++++++++
include/sound/soc.h | 13 ++++++
sound/core/pcm_native.c | 53 +++++++++++++++++++++++++
sound/soc/soc-core.c | 50 +++++++++++++++++++++++
sound/soc/tegra/tegra_pcm.c | 92 ++-----------------------------------------
5 files changed, 137 insertions(+), 88 deletions(-)



\
 
 \ /
  Last update: 2012-06-29 13:21    [W:0.062 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site