[alsa-devel] [PATCH] ASoC: mmp-pcm: config pcm slave via generic dmaengine
Lars-Peter Clausen
lars at metafoo.de
Tue Dec 17 15:42:52 CET 2013
On 12/17/2013 01:49 PM, Mark Brown wrote:
> On Tue, Dec 17, 2013 at 04:22:24PM +0800, Qiao Zhou wrote:
>> use snd_dmaengine_pcm_prepare_slave_config to set slave config,
>> and remove the max_burst_size = 4 hard code.
>>
>> select SND_SOC_GENERIC_DMAENGINE_PCM for mmp-pcm.
>
> Applied, thanks. Can you also convert to use snd_dmaengine_pcm_register()
> and remove this file completely?
>
The problem here is that the driver uses sram for its audio memory and the
platform has a custom function for looking up the sram pool. What we really
need is a generic version of that which we can use in memalloc.c in the core.
- Lars
More information about the Alsa-devel
mailing list