dma: tegra: enable/disable dma clock
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 20 Jul 2012 08:01:08 +0000 (13:31 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 31 Jul 2012 10:45:05 +0000 (16:15 +0530)
commitfed57cd375ece6d271e45d9ad630c7de632e74b6
treec75b89c7a25935a52b06c15843678813af2803d2
parentdbde5c2934d10f87cc45ed9a9b95cac6f0c0fdd2
dma: tegra: enable/disable dma clock

Enable the DMA clock when allocating channel and
disable clock when freeing channels.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/tegra20-apb-dma.c