summaryrefslogtreecommitdiff
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-05-08 12:01:49 +0300
committerVinod Koul <vinod.koul@intel.com>2014-05-22 15:37:24 +0530
commit8be4f523b48087765defd18483c66b268b3286e5 (patch)
tree75296fcfd7bd96e50329c4f6e6ef2433e25b6357 /drivers/dma/dmaengine.c
parentd2f78e95e42a9130002c76f1a1f76e657a4b4004 (diff)
dmaengine: dw: fix regression in dw_probe() function
The commit dbde5c29 "dw_dmac: use devm_* functions to simplify code" turns probe function to use devm_* helpers and simultaneously brings a regression. We have to 1) call clk_disable_unprepare() on error path, and 2) check error code of clk_enable_prepare(). First part was done in the original code, second one is an update. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions