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