dmaengine: k3dma: add missing clk_disable_unprepare() on error in k3_dma_probe()
commit89b90c09b5d505dcff1068054f1fc2d2704e909f
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 19 Jul 2016 11:29:41 +0000 (19 11:29 +0000)
committerVinod Koul <vinod.koul@intel.com>
Sun, 24 Jul 2016 06:29:15 +0000 (24 11:59 +0530)
tree758e4c116e95f797d63aa09d55a42e216dd1d2ba
parente94570a36bda79b9f87abd283d7277b6a92c508d
dmaengine: k3dma: add missing clk_disable_unprepare() on error in k3_dma_probe()

Add the missing clk_disable_unprepare() before return
from k3_dma_probe() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/k3dma.c