commit | 5e2fe1e7c2780651be85cbab0d065112f5fb4649 | [log] [tgz] |
---|---|---|
author | Peter Griffin <peter.griffin@linaro.org> | Tue Jun 07 18:38:34 2016 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Jun 21 21:34:59 2016 +0530 |
tree | 51cef13ed7cbbdff954f8a9eb9eaeb650f7be55f | |
parent | 1a695a905c18548062509178b98bc91e67510864 [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>