27 Apr
2012
27 Apr
'12
10:41 a.m.
On Fri, Apr 27, 2012 at 01:51:40PM +0530, Vinod Koul wrote:
On Fri, 2012-04-27 at 15:02 +0800, Richard Zhao wrote:
device_prep_dma_cyclic may be call in audio trigger function which is atomic context, so we make it atomic too.
No this is wrong behavior. You should not call dma prepare functions in any of the sound trigger calls. It would make sense to move this in sound prepare callback.
Then, could you please doc it somewhere? I think I'm not the only one confused.
Thanks Richard
-- ~Vinod