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

Vinod Koul vinod.koul at linux.intel.com
Wed May 9 23:53:58 EDT 2012


On Wed, 2012-05-09 at 19:33 +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.
> 
>  - change channel0 lock to spinlock.
>  - Use polling to wait for channel0 finish running.
> 
> Signed-off-by: Richard Zhao <richard.zhao at freescale.com>
Acked By: Vinod Koul <vinod.koul at linux.intel.com>

-- 
~Vinod




More information about the linux-arm-kernel mailing list