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

Shawn Guo shawn.guo at linaro.org
Thu May 10 02:34:49 EDT 2012


On Thu, May 10, 2012 at 09:23:58AM +0530, Vinod Koul wrote:
> 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>
> 
Applied on imx/dt branch with Vinod's ack.  Thanks.

-- 
Regards,
Shawn



More information about the linux-arm-kernel mailing list