dmaengine: at_xdmac: Handle return value of clk_prepare_enable.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 7 Aug 2017 07:45:19 +0000 (13:15 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 21 Aug 2017 16:50:44 +0000 (22:20 +0530)
commit87c56dcba4573441b5cc4b42ecbb35188fee8f04
tree7e91022631e2795e84f17679a8587ba913ea0184
parent1edc85dc56690aeb490e8058b2515f277bdebd51
dmaengine: at_xdmac: Handle return value of clk_prepare_enable.

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c