Commit ae891a42 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 154502e1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment