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

Vinod Koul vinod.koul at linux.intel.com
Thu May 10 05:53:58 CEST 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 Alsa-devel mailing list