dmaengine: imx-dma: Check for clk_prepare_enable() error
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 20 Jun 2015 21:43:44 +0000 (18:43 -0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 7 Jul 2015 04:05:08 +0000 (09:35 +0530)
clk_prepare_enable() may fail, so we should better check its return value
and propagate it in the case of error.

While at it, change the label 'err' to a more descriptive naming.

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

Simple merge