18 Dec
2013
18 Dec
'13
6:55 a.m.
On 12/17/2013 10:42 PM, Lars-Peter Clausen wrote:
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
I'll check the general memalloc implementation. Thanks.
--
Best Regards
Qiao