aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-01-07 04:58:35 -0500
committerFabio Baltieri <fabio.baltieri@linaro.org>2013-01-14 04:51:16 -0500
commitda2ac56a1bc9c6c56244aa9ca990d5c5c7574b5f (patch)
tree2fc8a260096f1dc7838ea28414fbd38c4a54d942 /drivers/dma/ste_dma40.c
parent53d6d68f3c1792bce0144d8499435468e425a995 (diff)
dmaengine: set_dma40: balance clock in probe fail code
Clock code was changed to use clk_prepare_enable in: b707c65 dma/ste_dma40: Fixup clock usage during probe but clk_disable on probe fail path was not updated. This patch fix this by using clk_disable_unprepare in place of clk_disable. Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Diffstat (limited to 'drivers/dma/ste_dma40.c')
-rw-r--r--drivers/dma/ste_dma40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index a97bbd3a4a47..d77d41d7c463 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -3634,7 +3634,7 @@ failure:
3634 release_mem_region(base->phy_start, 3634 release_mem_region(base->phy_start,
3635 base->phy_size); 3635 base->phy_size);
3636 if (base->clk) { 3636 if (base->clk) {
3637 clk_disable(base->clk); 3637 clk_disable_unprepare(base->clk);
3638 clk_put(base->clk); 3638 clk_put(base->clk);
3639 } 3639 }
3640 3640