[PATCH 01/11] dma: imx-sdma: make channel0 operations atomic

Vinod Koul vinod.koul at linux.intel.com
Fri Apr 27 04:21:40 EDT 2012


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.

-- 
~Vinod




More information about the linux-arm-kernel mailing list