asoc/multi-component: fsl: add support for 36-bit physical addresses
authorTimur Tabi <timur@freescale.com>
Mon, 2 Aug 2010 17:44:36 +0000 (12:44 -0500)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 12 Aug 2010 13:00:16 +0000 (14:00 +0100)
commit1a3c5a491af6756dbba6ee166a9dee72bb414ba8
tree68544188a561476d6070417f147b76b00c216c6b
parent6e6f66226f0092a39526f8d6f02ebb447d995be2
asoc/multi-component: fsl: add support for 36-bit physical addresses

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@freescale.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/fsl/fsl_dma.c