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>
Mon, 13 Aug 2012 04:45:22 +0000 (10:15 +0530)
commitffc493062ce9987156945aa21a677d83a179fc0a
treec8e9d7ec60ab132bd9a4edec903e0a4be062e94c
parentf986ffedd7c60c76e72d63dda49a0c705d451d43
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