]> git.karo-electronics.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)
committerDan Williams <djbw@fb.com>
Tue, 18 Dec 2012 22:25:19 +0000 (14:25 -0800)
commit64306d671620723efcb70408c2a498c6735d9813
tree12f8cc3de6c1faeca113a6becc505466460b4dff
parent2c32fc081cfc2fe90337d9068d4f5675829b5b4d
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