[PATCH V2 01/11] dma: imx-sdma: make channel0 operations atomic
From: Shawn Guo <hidden>
Date: 2012-05-10 06:34:49
Also in:
alsa-devel, linux-i2c
From: Shawn Guo <hidden>
Date: 2012-05-10 06:34:49
Also in:
alsa-devel, linux-i2c
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:quoted
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 <redacted>Acked By: Vinod Koul [off-list ref]
Applied on imx/dt branch with Vinod's ack. Thanks. -- Regards, Shawn