MIPS: jz4740: Acquire and enable DMA controller clock
authorMaarten ter Huurne <maarten@treewalker.org>
Thu, 30 May 2013 16:25:01 +0000 (18:25 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:49 +0000 (11:40 +0530)
commitc8c81f32eef1d77134c81810b17f282bd619fb0b
tree30d1c22a1872b583b0185d8b87bb98d3dae0b1b4
parent8e3c518fba4f2ddd192171cbd7b23ec26900bf6b
MIPS: jz4740: Acquire and enable DMA controller clock

Previously, it was assumed that the DMA controller clock is not gated
when the kernel starts running. While that is the power-on state, it is
safer to not rely on that.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/mips/jz4740/dma.c