dma: tegra: Fix usage of clk_prepare
authorChaitanya Bandi <bandik@nvidia.com>
Mon, 11 Nov 2013 04:36:17 +0000 (09:36 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Tue, 12 Nov 2013 09:27:12 +0000 (01:27 -0800)
commit3f2574841eecaad95f75123e1a5f1bb82212fed2
tree10cfd5253e89b7827aca1fb511d1d4b40bbce4b2
parent9859e528704cc31d5ad4642454f6e6aac4b51cc1
dma: tegra: Fix usage of clk_prepare

As clk_prepare shouldn't be called from
atomic context, moving it as appropriate.

Bug 1400884

Change-Id: Ica4ceee6db9275d37c53381504e30cafa048ccad
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/328763
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/dma/tegra20-apb-dma.c