dmaengine: omap-dma: Add memory barrier to dma_resume path
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 16 Sep 2014 19:45:56 +0000 (22:45 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 23 Sep 2014 12:52:54 +0000 (18:22 +0530)
commitb3d09da7e1771decc6833d1fa662bf994948c8e6
treec22b40698ca82124e706b83c7fff2d3d990dc4e2
parent9e82bf014195d6f0054982c463575cdce24292be
dmaengine: omap-dma: Add memory barrier to dma_resume path

Add mb() call to resume path to ensure the necessary barrier.
Resume can happen after waking up from suspend for example.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c