dmaengine: imx-sdma: Check for clk_enable() errors
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 30 Jul 2015 00:03:49 +0000 (21:03 -0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 20 Aug 2015 05:22:12 +0000 (10:52 +0530)
clk_enable() may fail, so we should better check the return value and
propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c

Simple merge