• Paul Mundt's avatar
    sh: clkfwk: Fix up the clk_enable() error path. · ae891a42
    Paul Mundt authored
    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>
    ae891a42
clock-sh7722.c 24.1 KB