Re: [alsa-devel] [PATCH] ASoC: snd_dmaengine: add common api forpcm_mmap

From: Mark Brown
Date: Thu Jun 28 2012 - 08:28:29 EST


On Thu, Jun 28, 2012 at 02:30:26PM +0200, Lars-Peter Clausen wrote:
> On 06/28/2012 02:18 PM, Mark Brown wrote:

> > Oh, dear - this means we don't actually have a generic API at all. Is
> > there any effort being made to make this generally available?

> Yes there is, and in fact in next/master there is generic
> dma_mmap_writecombine. I'm not quite sure how it behaves on non ARM archs
> though. But in theory it should fallback to a normal coherent mapping. Marek
> did a lot of work on this, I've put him on Cc.

OK, that's not so bad. Where is this code, can we merge it into ALSA?
If not it's probably best to punt until after the merge window.

Attachment: signature.asc
Description: Digital signature