From: Paul Mundt Date: Mon, 11 May 2009 20:30:10 +0000 (+0900) Subject: sh: clkfwk: Fix up the clk_enable() error path. X-Git-Tag: v2.6.31-rc1~392^2~41^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae891a4264c91246c0b4c22be68b9838747ae48d;p=pandora-kernel.git sh: clkfwk: Fix up the clk_enable() error path. There are a couple of instances where a clk_enable() can fail, which the SH-Mobile code presently handles, but doesn't get reported all the way back up. This fixes up the return type so the errors make it all the way down to the drivers. Additionally, we now also error out properly if the parent enable fails. Prep work for aggressively turning off unused clocks on boot. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed