git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922ee08
)
dma: imx-sdma: make channel0 operations atomic
author
Richard Zhao
<richard.zhao@freescale.com>
Fri, 11 May 2012 07:14:27 +0000
(15:14 +0800)
committer
Vinod Koul
<vinod.koul@linux.intel.com>
Fri, 11 May 2012 08:30:38 +0000
(14:00 +0530)
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>
No differences found