summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2012-05-11 15:14:27 +0800
committerVinod Koul <vinod.koul@linux.intel.com>2012-05-11 14:00:38 +0530
commit2ccaef0520d18d0072153f090d4110b4075c332c (patch)
treec4fcc9cbac1f7448263701ae5c5926f28351935c /usr
parent922ee08baad2052d0759f100e026d49798c51fef (diff)
downloadop-kernel-dev-2ccaef0520d18d0072153f090d4110b4075c332c.zip
op-kernel-dev-2ccaef0520d18d0072153f090d4110b4075c332c.tar.gz
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 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud