Re: [PATCH v2] dmaengine: fsl-edma: disable clks on all error paths

2017-12-12 Thread Vinod Koul
On Wed, Dec 06, 2017 at 02:50:23PM +0100, Andreas Platschek wrote: > Previously enabled clks are only disabled if clk_prepare_enable() fails. > However, there are other error paths were the previously enabled > clocks are not disabled. > > Found by Linux Driver Verification project (linuxtesting.o

[PATCH v2] dmaengine: fsl-edma: disable clks on all error paths

2017-12-06 Thread Andreas Platschek
Previously enabled clks are only disabled if clk_prepare_enable() fails. However, there are other error paths were the previously enabled clocks are not disabled. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Andreas Platschek --- drivers/dma/fsl-edma.c | 13