On Thu, Mar 07, 2013 at 09:18:04AM +0000, Russell King - ARM Linux wrote:
On Thu, Mar 07, 2013 at 10:33:19AM +0800, Mark Brown wrote:
Could you go into more detail here please? Looking at the code I'm not seeing any allocations done by the library code at all, the allocations are all done by the individual platform DMA drivers so I don't see anything stopping them doing what they need.
I don't know what else you require apart from the description above. Isn't it rather obvious that you can't preallocate the ALSA buffer against the DMA engine device if you can only obtain the DMA engine device in the open function?
The bit I'm missing is why this is particularly hard to change, it doesn't seem like a massive refactoring and there's not many users.