]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: add cpu_relax() to busy-loop in dma_sync_wait()
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 8 Nov 2012 10:02:07 +0000 (10:02 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:05:11 +0000 (22:05 -0800)
commit2cbe7feba1ac521b5668609c35b94536bbbcd52f
tree70373963c3c6f3ee91ad073a5f987d36de4e8175
parente239345f642e6a255d0ba1e3d92c2f9ec5a44fbe
dmaengine: add cpu_relax() to busy-loop in dma_sync_wait()

Removal of the busy-loop from dma_sync_wait() is not a trivial
task so just add cpu_relax() to the loop for now.

Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dan Williams <djbw@fb.com>
drivers/dma/dmaengine.c