dmaengine: imx-sdma: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 24 May 2017 06:39:53 +0000 (12:09 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 30 May 2017 06:21:35 +0000 (11:51 +0530)
commitfb9caf370f4d0457789d13a1a1b110a8db846e5e
tree3ed8a8957a50969cd1be976fd6dcf7fd21db8708
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
dmaengine: imx-sdma: 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>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c