[alsa-devel] [PATCH] asoc/multi-component: fsl: add support for 36-bit physical addresses

Liam Girdwood lrg at slimlogic.co.uk
Wed Aug 4 01:34:49 CEST 2010


On Mon, 2010-08-02 at 12:44 -0500, Timur Tabi wrote:
> Update the DMA driver used by the Freescale MPC8610 HPCD audio driver to
> support 36-bit physical addresses, for both DMA buffers and the SSI registers.
> 
> The DMA driver calls snd_dma_alloc_pages() to allocate the DMA buffers for
> playback and capture.  This function is just a front-end for
> dma_alloc_coherent().  Currently, dma_alloc_coherent() only allocates buffers
> in low memory (it ignores GFP_HIGHMEM), so we never actually get a DMA buffer
> with a real 36-bit physical address.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 
> Liam, this patch should *not* be squashed into the rest of the changes for
> multi-component.
> 
>  sound/soc/fsl/fsl_dma.c |   77 +++++++++++++++++++++++++++++++----------------
>  1 files changed, 51 insertions(+), 26 deletions(-)
> 

Applied.

Thanks

Liam
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list