summaryrefslogtreecommitdiff
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2016-06-07 18:38:34 +0100
committerVinod Koul <vinod.koul@intel.com>2016-06-21 21:34:59 +0530
commit5e2fe1e7c2780651be85cbab0d065112f5fb4649 (patch)
tree51cef13ed7cbbdff954f8a9eb9eaeb650f7be55f /block/blk-ioc.c
parent1a695a905c18548062509178b98bc91e67510864 (diff)
dmaengine: fsl-edma: Fix clock handling error paths
Currently fsl-edma doesn't clk_disable_unprepare() its clocks on error conditions. This patch adds a fsl_disable_clocks helper for this, and also only disables clocks which were enabled if encountering an error whilst enabling clocks. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions