From: Andy Shevchenko Date: Thu, 8 May 2014 09:01:49 +0000 (+0300) Subject: dmaengine: dw: fix regression in dw_probe() function X-Git-Tag: omap-for-v3.16/fixes-against-rc1~69^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be4f523b48087765defd18483c66b268b3286e5;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed