aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/sa11x0-dma.c
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2012-05-11 03:14:27 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-05-11 04:30:38 -0400
commit2ccaef0520d18d0072153f090d4110b4075c332c (patch)
treec4fcc9cbac1f7448263701ae5c5926f28351935c /drivers/dma/sa11x0-dma.c
parent922ee08baad2052d0759f100e026d49798c51fef (diff)
dma: imx-sdma: make channel0 operations atomic
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@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/sa11x0-dma.c')
0 files changed, 0 insertions, 0 deletions