dmaengine: DW DMAC: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 22 May 2017 10:31:48 +0000 (16:01 +0530)
committerVinod Koul <vinod.koul@intel.com>
Wed, 24 May 2017 04:25:17 +0000 (09:55 +0530)
commit702fce05f5ad0e2af2c00d5ef41356ffdd4a3a56
tree77be2870551d447de1ae0fe606f7c21f6596bf6f
parent14bebd01c5f5306c804bcb78d008df3a149dd0b3
dmaengine: DW DMAC: 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: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/platform.c