commit | ae891a4264c91246c0b4c22be68b9838747ae48d | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Tue May 12 05:30:10 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue May 12 05:30:10 2009 +0900 |
tree | 18da25fbd0322f6d2f4288dbf741609e53ae297e | |
parent | 154502e160e02dee7b00ec2149762ae5d48e0bb4 [diff] |
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 <lethal@linux-sh.org>