dma/imx-sdma: use readl_relaxed/writel_relaxed and use writel when necessary
authorRichard Zhao <richard.zhao@linaro.org>
Fri, 13 Jan 2012 03:09:57 +0000 (11:09 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 31 Jan 2012 03:33:16 +0000 (09:03 +0530)
commitc4b56857d17540e8085a04ea479b0239f4ee764c
tree9a0a5388f4c22be7beaf7e5096ab8c91b9ce9f18
parentb9a591664a21a3d342b9e3b09b0aa2223ae7c469
dma/imx-sdma: use readl_relaxed/writel_relaxed and use writel when necessary

use readl_relaxed/writel_relaxed in most places, and use writel when
enable channel, because it needs memory barrier.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-sdma.c