]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commitfce9a74ba46fb545ad81cf244f3a1af4a877606c
tree2df4ff65a80122ddfafb6f363ddf00c393a9313e
parentd264b48687fab995fe970451ed11f4259d68aee1
dmaengine: imx-dma: Check for clk_prepare_enable() error

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