dmaengine: set_dma40: balance clock in probe fail code
authorFabio Baltieri <fabio.baltieri@linaro.org>
Mon, 7 Jan 2013 09:58:35 +0000 (10:58 +0100)
committerFabio Baltieri <fabio.baltieri@linaro.org>
Mon, 14 Jan 2013 09:51:16 +0000 (10:51 +0100)
commitda2ac56a1bc9c6c56244aa9ca990d5c5c7574b5f
tree2fc8a260096f1dc7838ea28414fbd38c4a54d942
parent53d6d68f3c1792bce0144d8499435468e425a995
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>
drivers/dma/ste_dma40.c